-
conda install pytorch=1.6.0 cudatoolkit=10.1 torchvision -c pytorch
-
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
-
git clone https://github.com/Pstage-Segmentation-Detection/mmdetection_trash.git
-
cd mmdetection_trash
-
pip install -r requirements.txt
-
pip install -v -e .
-
apt-get install libgl1-mesa-glx
-
jupyter nbextension enable --py widgetsnbextension
python tools/train.py configs/trash/faster_rcnn/faster_rcnn_r50_fpn_1x_trash.py
python tools/test.py configs/trash/faster_rcnn/faster_rcnn_r50_fpn_1x_trash.py work_dirs/faster_rcnn_r50_fpn_1x_trash/epoch_12.pth --out work_dirs/faster_rcnn_r50_fpn_1x_trash/epoch_12.pkl
python pkl_to_submission.py --pkl work_dirs/faster_rcnn_r50_fpn_1x_trash/epoch_12.pkl --csv submission.csv
mmdetection_trash > submission.csv