-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeepgcn_env_install.sh
40 lines (31 loc) · 1.96 KB
/
deepgcn_env_install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env bash
# make sure command is : source deepgcn_env_install.sh
# install anaconda3.
# cd ~/
# wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh
# bash Anaconda3-2019.07-Linux-x86_64.sh
source ~/.bashrc
# make sure system cuda version is the same with pytorch cuda
# follow the instruction of Pyotrch Geometric: https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html
export PATH=/usr/local/cuda-10.0/bin:$PATH
echo $PATH
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
conda create -n deepgcn
conda activate deepgcn
# make sure pytorch version >=1.4.0
conda install -y pytorch=1.4.0 torchvision cudatoolkit=10.0 tensorflow=1.14.0 python=3.7 -c pytorch
# command to install pytorch geometric, please refer to the official website for latest installation.
# https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html
CUDA=cu100
pip install torch-scatter==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip install torch-sparse==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip install torch-spline-conv==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html
pip install torch-cluster==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html
# pip install torch-cluster==1.4.5
pip install torch-geometric
pip install --upgrade tensorflow-graphics
# install useful modules
pip install requests # sometimes pytorch geometric forget to install it, but it is in need
pip install tqdm
Bachelor's degree in Mathematics: I volunteer for the University of California, Irvine, the computer vision lab as research assistant and full time work over 50 hours a week. I am doing my research project advised by Prof. Charless Fowlkes. I am responsible to design the deep learning model to predict human activity based on 2D image, and composing scholarly paper expected to submit in academic conference of computer vision.