Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| configs | 3 years ago | |
| tensormask | 3 years ago | |
| tests | 3 years ago | |
| README.md | 3 years ago | |
| setup.py | 3 years ago | |
| train_net.py | 3 years ago | |
A Foundation for Dense Object Segmentation
Xinlei Chen, Ross Girshick, Kaiming He, Piotr Dollár
In this repository, we release code for TensorMask in Detectron2.
TensorMask is a dense sliding-window instance segmentation framework that, for the first time, achieves results close to the well-developed Mask R-CNN framework -- both qualitatively and quantitatively. It establishes a conceptually complementary direction for object instance segmentation research.
To install, first setup Detectron 2 following INSTALL.md. Then to compile the TensorMask-specific op (swap_align2nat):
cd /path/to/detectron2/projects/TensorMask
python setup.py build develop
To train a model, run:
python /path/to/detectron2/projects/TensorMask/train_net.py --config-file <config.yaml>
For example, to launch TensorMask BiPyramid training (1x schedule) with ResNet-50 backbone on 8 GPUs,
one should execute:
python /path/to/detectron2/projects/TensorMask/train_net.py --config-file configs/tensormask_R_50_FPN_1x.yaml --num_gpus 8
Model evaluation can be done similarly (6x schedule with scale augmentation):
python /path/to/detectron2/projects/TensorMask/train_net.py --config-file configs/tensormask_R_50_FPN_6x.yaml --eval-only MODEL.WEIGHTS model.pth
(coming soon)
If you use TensorMask, please use the following BibTeX entry.
@InProceedings{chen2019tensormask,
title={Tensormask: A Foundation for Dense Object Segmentation},
author={Chen, Xinlei and Girshick, Ross and He, Kaiming and Doll{\'a}r, Piotr},
journal={The International Conference on Computer Vision (ICCV)},
year={2019}
}
No Description
Python Cuda C++ Markdown Shell other