MAL for cvpr765
Get into MAL root folder.
- Install conda env by
conda env create -f environment.yaml
and activate it by 'conda activate MAL'. - Copy https://github.com/facebookresearch/maskrcnn-benchmark/tree/master/maskrcnn_benchmark to this repository.
- Build maskrcnn_benchmark by run
python setup.py build develop
- Go to
./demo
- Run
python image_demo.py
. You can use your own image and change the image path in image_demo.py
Get into MAL root folder.
For test-dev set, run
python python -m torch.distributed.launch --nproc_per_node=8 tools/test_net.py --config-file ./config/MAL_X-101-FPN_e2e.yaml MODEL.WEIGHT ./output/models/model_0180000.pth DATASETS.TEST "('coco_test-dev',)"
For val set, run
python python -m torch.distributed.launch --nproc_per_node=8 tools/test_net.py --config-file ./config/MAL_X-101-FPN_e2e.yaml MODEL.WEIGHT ./output/models/model_0180000.pth
mAP = 47.0 on test-dev
clean the training code