This is an implementation of place classification method of "Place classification based on semantic segmented objects".
Pre-trained Deeplab-v2 with COCO-stuff 164k dataset is available at 164k Model.
- Python 2.7+/3.6+
- Anaconda environment
Then setup from conda_env.yaml
. Please modify cuda option as needed (default: cudatoolkit=10.0
)
$ conda env create -f configs/conda_env.yaml
$ conda activate deeplab-pytorch
Setup instruction is provided in each link.
Usage: place_weight_matrix.py single -c ./configs/cocostuff164k.yaml -m ./models/deeplabv2_resnet101_msc-cocostuff164k-100000.pth -i .
Usage: place_classification.py single -c ./configs/cocostuff164k.yaml -m ./models/deeplabv2_resnet101_msc-cocostuff164k-100000.pth -i .
- DeepLab-v2 implementation of kazuto1011.