Skip to content

Commit bc247c9

Browse files
authored
Data loading tutorial (#96)
* Initial draft of data loading tutorial * Few touchups in data_loading_tutorial * Add afterword to data loading tutorial * Final touchups
1 parent 13936ab commit bc247c9

File tree

4 files changed

+463
-4
lines changed

4 files changed

+463
-4
lines changed

Makefile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,27 @@ help:
2020
%: Makefile
2121
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2222

23-
24-
docs:
25-
wget -N https://download.pytorch.org/tutorial/data.zip
23+
download:
24+
# transfer learning tutorial data
2625
wget -N https://download.pytorch.org/tutorial/hymenoptera_data.zip
2726
unzip -o hymenoptera_data.zip -d beginner_source
27+
28+
# nlp tutorial data
29+
wget -N https://download.pytorch.org/tutorial/data.zip
2830
unzip -o data.zip -d intermediate_source
31+
32+
# data loader tutorial
33+
wget -N https://download.pytorch.org/tutorial/faces.zip
34+
unzip -o faces.zip -d beginner_source
35+
36+
# neural style images
2937
rm -rf advanced_source/images/
3038
cp -r _static/img/neural-style/ advanced_source/images/
31-
rm -rf docs
39+
40+
docs:
41+
make download
3242
make html
43+
rm -rf docs
3344
cp -r $(BUILDDIR)/html docs
3445
touch docs/.nojekyll
3546

_static/img/landmarked_face2.png

379 KB
Loading

0 commit comments

Comments
 (0)