Code Monkey home page Code Monkey logo

deeplabv1-resnet38's Introduction

DeeplabV1 ResNet38 Retrain

First download the ResNet38 pretrain from here.

Training

Please modify the configration in config.py according to your device firstly.

CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node 2 tools/train.py 

Test

Don't forget to check test configration in config.py first.

VOC12

CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node 2 tools/test.py --period val --test_ckpt [checkpoint path] --test_flip --test_multiscale --test_save prob_npy

COCO14

CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node 2 tools/test.py --period val --test_ckpt [checkpoint path] --test_flip --test_multiscale --test_save prob_npy

CRF Postprocess

VOC12

python tools/make_crf.py \
--list val.txt \
--data-path data \
--predict-dir prob_npy \
--predict-png-dir pred_png \
--num-cls 21 \
--dataset voc12

COCO14

python tools/make_crf.py \
--list val.txt \
--data-path data \
--predict-dir prob_npy \
--predict-png-dir pred_png \
--num-cls 91 \
--dataset coco

deeplabv1-resnet38's People

Contributors

yingyue-l avatar yudewang avatar

Stargazers

 avatar

Watchers

 avatar

deeplabv1-resnet38's Issues

About MCTformer

Can you provide instructions for all the training steps? I followed the author's instructions and the final segmentation result of mIoU was only 67.5%.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.