Skip to content

Commit ba0f8b9

Browse files
authored
Added section for other tutorials (#163)
1 parent 205ae5c commit ba0f8b9

File tree

4 files changed

+98
-57
lines changed

4 files changed

+98
-57
lines changed

src/tutorials/others.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Other Tutorials
2+
3+
- [Text Classification using Convolutional Neural
4+
Networks](https://github.com/pytorch/ignite/blob/master/examples/notebooks/TextCNN.ipynb)
5+
- [Variational Auto
6+
Encoders](https://github.com/pytorch/ignite/blob/master/examples/notebooks/VAE.ipynb)
7+
- [Convolutional Neural Networks for Classifying Fashion-MNIST
8+
Dataset](https://github.com/pytorch/ignite/blob/master/examples/notebooks/FashionMNIST.ipynb)
9+
- [Training Cycle-GAN on Horses to
10+
Zebras with Nvidia/Apex](https://github.com/pytorch/ignite/blob/master/examples/notebooks/CycleGAN_with_nvidia_apex.ipynb) - [ logs on W&B](https://app.wandb.ai/vfdev-5/ignite-cyclegan-apex)
11+
- [Another training Cycle-GAN on Horses to
12+
Zebras with Native Torch CUDA AMP](https://github.com/pytorch/ignite/blob/master/examples/notebooks/CycleGAN_with_torch_cuda_amp.ipynb) - [logs on W&B](https://app.wandb.ai/vfdev-5/ignite-cyclegan-torch-amp)
13+
- [Finetuning EfficientNet-B0 on
14+
CIFAR100](https://github.com/pytorch/ignite/blob/master/examples/notebooks/EfficientNet_Cifar100_finetuning.ipynb)
15+
- [Hyperparameters tuning with
16+
Ax](https://github.com/pytorch/ignite/blob/master/examples/notebooks/Cifar10_Ax_hyperparam_tuning.ipynb)
17+
- [Benchmark mixed precision training on Cifar100:
18+
torch.cuda.amp vs nvidia/apex](https://github.com/pytorch/ignite/blob/master/examples/notebooks/Cifar100_bench_amp.ipynb)
19+
20+
### Reproducible Training Examples
21+
22+
Inspired by [torchvision/references](https://github.com/pytorch/vision/tree/master/references),
23+
we provide several reproducible baselines for vision tasks:
24+
25+
- [ImageNet](https://github.com/pytorch/ignite/tree/master/examples/references/classification/imagenet)
26+
- [Pascal VOC2012](https://github.com/pytorch/ignite/tree/master/examples/references/segmentation/pascal_voc2012)
27+
28+
Features:
29+
30+
- Distributed training: native or horovod and using [PyTorch native AMP](https://pytorch.org/docs/stable/notes/amp_examples.html)

themes/ignite/layouts/_default/list.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
{{ partial "ListInnerBlog.html" . }}
66
{{ else if eq .Title "Getting Started" }}
77
{{ partial "ListInnerGettingStarted.html" . }}
8+
{{ else if eq .Title "Tutorials" }}
9+
{{ partial "ListInnerTutorials.html" . }}
810
{{ else }}
911
{{ partial "ListInnerDefault.html" . }}
1012
{{ end }}
Lines changed: 7 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,12 @@
1-
{{ $beginner := slice }}
2-
{{ $intermediate := slice }}
3-
{{ $advanced := slice }}
4-
5-
{{ range (.Paginate .Pages.ByWeight).Pages }}
6-
{{ if findRE "beginner" .RelPermalink }}
7-
{{ $beginner = $beginner | append . }}
8-
{{ else if findRE "intermediate" .RelPermalink }}
9-
{{ $intermediate = $intermediate | append . }}
10-
{{ else if findRE "advanced" .RelPermalink }}
11-
{{ $advanced = $advanced | append . }}
12-
{{ end }}
13-
{{ end }}
14-
151
<main class="py-6 px-6 prose prose-red">
162
{{ .Content }}
17-
{{ if eq .Section "tutorials" }}
18-
{{ if $beginner }}
19-
<h2>Beginner</h2>
20-
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
21-
{{ range $beginner }}
22-
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
23-
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
24-
{{ partial "Summary.html" . }}
25-
</div>
26-
{{ end }}
27-
</div>
28-
{{ end }}
29-
{{ if $intermediate }}
30-
<h2>Intermediate</h2>
31-
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
32-
{{ range $intermediate }}
33-
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
34-
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
35-
{{ partial "Summary.html" . }}
36-
</div>
37-
{{ end }}
38-
</div>
39-
{{ end }}
40-
{{ if $advanced }}
41-
<h2>Advanced</h2>
42-
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
43-
{{ range $advanced }}
44-
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
45-
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
46-
{{ partial "Summary.html" . }}
47-
</div>
48-
{{ end }}
49-
</div>
50-
{{ end }}
51-
{{ else }}
52-
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
53-
{{ range (.Paginate .Pages.ByWeight).Pages }}
54-
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
55-
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
56-
{{ partial "Summary.html" . }}
57-
</div>
58-
{{ end }}
3+
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
4+
{{ range (.Paginate .Pages.ByWeight).Pages }}
5+
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
6+
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
7+
{{ partial "Summary.html" . }}
598
</div>
60-
{{ end }}
9+
{{ end }}
10+
</div>
6111
{{ partial "Pagination.html" . }}
6212
</main>
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{{ $beginner := slice }}
2+
{{ $intermediate := slice }}
3+
{{ $advanced := slice }}
4+
{{ $others := slice }}
5+
6+
{{ range (.Paginate .Pages.ByWeight).Pages }}
7+
{{ if findRE "beginner" .RelPermalink }}
8+
{{ $beginner = $beginner | append . }}
9+
{{ else if findRE "intermediate" .RelPermalink }}
10+
{{ $intermediate = $intermediate | append . }}
11+
{{ else if findRE "advanced" .RelPermalink }}
12+
{{ $advanced = $advanced | append . }}
13+
{{ else if findRE "others" .RelPermalink }}
14+
{{ $others = $others | append . }}
15+
{{ end }}
16+
{{ end }}
17+
18+
<main class="py-6 px-6 prose prose-red">
19+
{{ .Content }}
20+
{{ if $beginner }}
21+
<h2>Beginner</h2>
22+
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
23+
{{ range $beginner }}
24+
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
25+
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
26+
{{ partial "Summary.html" . }}
27+
</div>
28+
{{ end }}
29+
</div>
30+
{{ end }}
31+
{{ if $intermediate }}
32+
<h2>Intermediate</h2>
33+
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
34+
{{ range $intermediate }}
35+
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
36+
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
37+
{{ partial "Summary.html" . }}
38+
</div>
39+
{{ end }}
40+
</div>
41+
{{ end }}
42+
{{ if $advanced }}
43+
<h2>Advanced</h2>
44+
<div class="grid py-6 gap-4 grid-cols-1 lg:grid-cols-3">
45+
{{ range $advanced }}
46+
<div class="rounded-lg bg-gray-200 p-4 dark:bg-dark-200">
47+
<a href="{{ .RelPermalink }}">{{ .Weight }}. {{ .Title }}</a>
48+
{{ partial "Summary.html" . }}
49+
</div>
50+
{{ end }}
51+
</div>
52+
{{ end }}
53+
{{ partial "Pagination.html" . }}
54+
55+
{{ range $others }}
56+
{{ .Content }}
57+
{{ end }}
58+
59+
</main>

0 commit comments

Comments
 (0)