Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f02a40

Browse files
sethjuarezcassiebreviusubramenshwarsaribornstein
authored
PyTorch Learn the Basics (#1230)
* Add PyTorch Learn the Basics tutorials Co-authored-by: Cassie Breviu <[email protected]> Co-authored-by: suraj813 <[email protected]> Co-authored-by: sethjuarez <[email protected]> Co-authored-by: Dmitri Soshnikov <[email protected]> Co-authored-by: PythicCoder <[email protected]>
1 parent 347ce5c commit 9f02a40

23 files changed

Lines changed: 1684 additions & 1 deletion

.devcontainer/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM python:3.6-slim
2+
3+
COPY requirements.txt requirements.txt
4+
5+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
6+
&& apt-get install git gcc unzip make -y \
7+
&& pip install --no-cache-dir -r requirements.txt

.devcontainer/devcontainer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "PyTorch",
3+
"build": {
4+
"context": "..",
5+
"dockerfile": "Dockerfile",
6+
"args": { }
7+
},
8+
"settings": {
9+
"terminal.integrated.shell.linux": "/bin/bash",
10+
"workbench.startupEditor": "none",
11+
"files.autoSave": "afterDelay",
12+
"python.dataScience.enabled": true,
13+
"python.dataScience.alwaysTrustNotebooks": true,
14+
"python.insidersChannel": "weekly",
15+
"python.showStartPage": false
16+
},
17+
"extensions": [
18+
"ms-python.python",
19+
"lextudio.restructuredtext"
20+
]
21+
}

.devcontainer/requirements.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Refer to ./jenkins/build.sh for tutorial build instructions
2+
3+
sphinx==1.8.2
4+
sphinx-gallery==0.3.1
5+
tqdm
6+
numpy
7+
matplotlib
8+
torch
9+
torchvision
10+
torchtext
11+
torchaudio
12+
PyHamcrest
13+
bs4
14+
awscli==1.16.35
15+
flask
16+
spacy
17+
ray[tune]
18+
19+
# PyTorch Theme
20+
-e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
21+
22+
ipython
23+
24+
# to run examples
25+
pandas
26+
scikit-image
27+
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
28+
# this is a workaround to the issue.
29+
pillow==4.1.1
30+
wget
31+
32+
# for codespaces env
33+
pylint

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ cleanup.sh
120120
*.swp
121121

122122
# PyTorch things
123-
*.pt
123+
*.pt

_static/img/basics/comp-graph.png

14 KB
Loading
32.6 KB
Loading
59.2 KB
Loading

_static/img/basics/typesdata.png

14.4 KB
Loading
14 KB
Loading
32.6 KB
Loading

0 commit comments

Comments
 (0)