yeezhu/SPN.pytorch
소개
PyTorch implementation of "Soft Proposal Networks for Weakly Supervised Object Localization", ICCV 2017.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPyTorch implementation of SPN
Soft Proposal Networks for Weakly Supervised Object Localization, ICCV 2017.
Requirements
Conda virtual environment is recommended: conda env create -f environment.yml
- Python3.5
- PyTorch:
conda install pytorch torchvision -c soumith - Packages: torch, torchnet, numpy, tqdm
Usage
Clone the SPN repository:
git clone https://github.com/yeezhu/SPN.pytorch.gitDownload the backbone model VGG16 (exported from caffe model) and then the model path should be
SPN.pytorch/demo/models/VGG16_ImageNet.pt.Install SPN:
cd SPN.pytorch/spnlib bash make.shRun the training demo:
cd SPN.pytorch/demo bash runme.shRun the testing demo: EvaluationDemo.ipynb
Note: To perform bbox localization on ImageNet, firstly download the SP_GoogleNet_ImageNet model and the annotations into imagenet_evalfolder. Extraxt the annotations:cd SPN.pytorch/demo/evaluation/imagenet_eval tar zxvf ILSVRC2012_bbox_val_v3.tgz
Citation
If you use the code in your research, please cite:
@INPROCEEDINGS{Zhu2017SPN,
author = {Zhu, Yi and Zhou, Yanzhao and Ye, Qixiang and Qiu, Qiang and Jiao, Jianbin},
title = {Soft Proposal Networks for Weakly Supervised Object Localization},
booktitle = {ICCV},
year = {2017}
}
Acknowledgement
In this project, we reimplemented SPN on PyTorch based on wildcat.pytorch. To keep consistency with the Torch version, we use the VGG16 model exported from caffe in fcn.pytorch.
관련 프로젝트 살펴보기
불러오는 중…