junxnone / tio

Log
Other
10 stars 5 forks source link

Detectron - Detectron2 #339

Open junxnone opened 5 years ago

junxnone commented 5 years ago

Reference

Brief

Name implementations
Detectron Caffe2
maskrcnn-benchmark PyTorch 1.0
Detectron2 PyTorch ≥ 1.4

Environment

Docker 使用

git clone https://github.com/facebookresearch/detectron2.git
cd  detectron2/docker
docker-compose run detectron2

Host Virtualenv

mkvirtualenv -p python3 pytorch
pip3 install torch==1.3.1+cu92 torchvision==0.4.2+cu92 -f https://download.pytorch.org/whl/torch_stable.html
pip3 install cython
pip3 install -U 'git+https://github.com/facebookresearch/fvcore.git' 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
pip3 install -e detectron2/

N.B. GCC/G++ 要用 4.9

Config

Data

from detectron2.data import DatasetCatalog DatasetCatalog.register("my_dataset", get_dicts)


- register metadata
junxnone commented 4 years ago

291 #465 #213

TODO