Skip to content

Commit

Permalink
Create Install.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yinbow committed Dec 9, 2022
1 parent 66a8255 commit 67b8728
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions figs/Install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
```
conda create --name CamoFormer python=3.8.5
conda activate CamoFormer
conda install pytorch==1.12.1 torchvision==0.13.1 cudatoolkit=11.3 -c pytorch
pip install opencv-python
conda install tensorboard
conda install tensorboardX
pip install timm
pip install matplotlib
pip install scipy
pip install einops
Please also install [apex](https://github.com/NVIDIA/apex).
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
Apex 同样支持 Python-only build (required with Pytorch 0.4):
pip install -v --no-cache-dir ./
```


0 comments on commit 67b8728

Please sign in to comment.