Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
yiming-wange
GitHub Repository: yiming-wange/cs224n-2023-solution
Path: blob/main/a3/README.txt
984 views
1
Welcome to Assignment 3!
2
3
We'll be using PyTorch for this assignment. If you're not familiar with PyTorch, or if you would like to review some of the fundamentals of PyTorch, the PyTorch review session is posted on Canvas under Course Videos.
4
5
If you want to continue using your cs224n environment from assignment 1 for this assignment, please make sure you have all the dependencies listed in local_env.yml. To do so, please run:
6
7
# 1. Activate your old environment:
8
9
conda activate cs224n
10
11
# 2. Install docopt
12
13
conda install docopt
14
15
# 3. Install pytorch, torchvision, and tqdm
16
17
conda install pytorch torchvision -c pytorch
18
conda install -c anaconda tqdm
19
20
21
If you would like to instead create a new environment for this assignment, please run:
22
23
# 1. Create an environment with dependencies specified in local_env.yml (note that this can take some time depending on your laptop):
24
25
conda env create -f local_env.yml
26
27
# 2. Activate the new environment:
28
29
conda activate cs224n_a3
30
31
32
# To deactivate an active environment, use
33
34
conda deactivate
35
36