Skip to content

Commit 9149c5b

Browse files
authored
Create Part2-Conda-Environment.md
1 parent 33d980c commit 9149c5b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Part2-Conda-Environment.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Conda Environment
2+
3+
1. Create and Activate Environment.
4+
```
5+
conda create -n py1.1 python=3.7 -y
6+
conda activate py1.1
7+
```
8+
9+
2. Install PyTorch on CPU Devices.
10+
```
11+
conda install pytorch=1.1 torchvision=0.3 -c pytorch -y
12+
```
13+
14+
3. Install PyTorch on GPU Devices.
15+
```
16+
nvidia-smi
17+
conda install pytorch=1.1 torchvision=0.3 cudatoolkit=9.0 -c pytorch -y
18+
```
19+
20+
4. Install and Launch Jupyter Notebook.
21+
```
22+
conda install jupyter -y
23+
jupyter notebook
24+
```

0 commit comments

Comments
 (0)