Skip to content

Commit 2ee27d0

Browse files
committed
Ported torchvision detection tutorial into sphinx gallery format
1 parent c4210c5 commit 2ee27d0

File tree

5 files changed

+480
-3301
lines changed

5 files changed

+480
-3301
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ download:
110110
wget -nv -N https://www.manythings.org/anki/deu-eng.zip -P $(DATADIR)
111111
unzip -o $(DATADIR)/deu-eng.zip -d beginner_source/data/
112112

113+
# Download PennFudanPed dataset for intermediate_source/torchvision_tutorial.py
114+
# and detection reference scripts: engine.py, utils.py ...
115+
wget https://www.cis.upenn.edu/~jshi/ped_html/PennFudanPed.zip -P $(DATADIR)
116+
unzip -o $(DATADIR)/PennFudanPed.zip -d intermediate_source/data/
117+
wget https://raw.githubusercontent.com/pytorch/vision/main/references/detection/engine.py -P intermediate_source
118+
wget https://raw.githubusercontent.com/pytorch/vision/main/references/detection/utils.py -P intermediate_source
119+
wget https://raw.githubusercontent.com/pytorch/vision/main/references/detection/coco_utils.py -P intermediate_source
120+
wget https://raw.githubusercontent.com/pytorch/vision/main/references/detection/coco_eval.py -P intermediate_source
121+
wget https://raw.githubusercontent.com/pytorch/vision/main/references/detection/transforms.py -P intermediate_source
113122

114123
docs:
115124
make download

0 commit comments

Comments
 (0)