kazuto1011 / deeplab-pytorch

PyTorch re-implementation of DeepLab v2 on COCO-Stuff / PASCAL VOC datasets
MIT License
1.09k stars 282 forks source link

Apply multi-scale during testing #92

Closed TyroneLi closed 3 years ago

TyroneLi commented 4 years ago

Thanks, I noticed that the code only support one scale image inference, could we implement multi-scale image size for inference?

kazuto1011 commented 4 years ago

The models named with "MSC" do multi-scale inference. See libs/models/msc.py.

https://github.com/kazuto1011/deeplab-pytorch/blob/4219467fa5de07985f834f1bd8c04c186dc8f6d8/libs/models/__init__.py#L33-L39