@@ -31,6 +31,16 @@ This repository provides tutorial code in C++ for deep learning researchers to l
31
31
1 . [ C++] ( http://www.cplusplus.com/doc/tutorial/introduction/ )
32
32
2 . [ CMake] ( https://cmake.org/download/ )
33
33
3 . [ LibTorch v1.4.0] ( https://pytorch.org/cppdocs/installing.html )
34
+ 4 . [ Conda] ( https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html )
35
+
36
+
37
+ ### For Interactive Tutorials
38
+
39
+ ``` bash
40
+ conda create --name pytorch-cpp
41
+ conda activate pytorch-cpp
42
+ conda install xeus-cling notebook -c conda-forge
43
+ ```
34
44
35
45
### Fork/Clone and Build
36
46
@@ -61,6 +71,15 @@ Some useful options:
61
71
cmake --build build
62
72
```
63
73
74
+ ### Running Tutorials
75
+
76
+ ``` bash
77
+ ./build/tutorials/basics/pytorch_basics/pytorch_basics
78
+
79
+ # In general
80
+ ./build/tutorials/{category}/{topic}/{topic}
81
+ ```
82
+
64
83
> ** _ Note for Windows users:_ ** <br >
65
84
> The CMake script downloads the * Release* version of libtorch, so ` --config Release ` has to be appended to the build command.
66
85
>
@@ -86,4 +105,7 @@ cmake --build build
86
105
* [ Generative Adversarial Networks] ( tutorials/advanced/generative_adversarial_network/main.cpp )
87
106
* [ Variational Auto-Encoder] ( tutorials/advanced/variational_autoencoder/src/main.cpp )
88
107
* [ Neural Style Transfer] ( tutorials/advanced/neural_style_transfer/src/main.cpp )
89
- * [ Image Captioning (CNN-RNN)] ( )
108
+ * [ Image Captioning (CNN-RNN)] ( )
109
+
110
+ ### 4. Interactive Tutorials
111
+ * [ Tensor Slicing] ( notebooks/tensor_slicing.ipynb )
0 commit comments