Home

Awesome

PyTorchCV: A PyTorch-Based Framework for Deep Learning in Computer Vision

@misc{CV2018,
  author =       {Donny You (youansheng@gmail.com)},
  howpublished = {\url{https://github.com/donnyyou/PyTorchCV}},
  year =         {2018}
}

This repository provides source code for some deep learning based cv problems. We'll do our best to keep this repository up to date. If you do find a problem about this repository, please raise it as an issue. We will fix it immediately.

Implemented Papers

Performances with PyTorchCV

Image Classification

Semantic Segmentation

ModelBackboneTraining dataTesting datamIOUPixel AccSetting
PSPNet Origin3x3-ResNet101ADE20K trainADE20K val41.9680.64-
PSPNet Ours7x7-ResNet101ADE20K trainADE20K val44.1880.91PSPNet

Object Detection

ModelBackboneTraining dataTesting datamAPFPSSetting
SSD-300 OriginVGG16VOC07+12 trainvalVOC07 test0.772--
SSD-300 OursVGG16VOC07+12 trainvalVOC07 test0.786-SSD300
SSD-512 OriginVGG16VOC07+12 trainvalVOC07 test0.798--
SSD-512 OursVGG16VOC07+12 trainvalVOC07 test0.808-SSD512
ModelBackboneTraining dataTesting datamAPFPSSetting
Faster R-CNN OriginVGG16VOC07 trainvalVOC07 test0.699--
Faster R-CNN OursVGG16VOC07 trainvalVOC07 test0.706-Faster R-CNN

Pose Estimation

Instance Segmentation

Commands with PyTorchCV

Take PSPNet as an example. ("tag" could be any string, include an empty one.)

cd scripts/seg/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh train tag
cd scripts/seg/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh train tag
cd scripts/seg/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh val tag
cd scripts/seg/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh test tag

Examples with PyTorchCV

<div align="center"> <img src="samples/pose/coco/000000319721_vis.png" width="500px"/> <p> Example output of <b>VGG19-OpenPose</b></p> <img src="samples/pose/coco/000000475191_vis.png" width="500px"/> <p> Example output of <b>VGG19-OpenPose</b></p> </div>