본문 바로가기

Deep Learning

Miniconda로 Deep learning 가상환경 만들기

반응형

requirements.txt
0.00MB

1. env create

$ conda create -y --name cvt2 python=3.8

2.load env

$ source activate cvt2

3. install pytorch 

$ conda install -c conda-forge pytorch torchvision cudatoolkit=11.3

 

(* -c option means channel, conda-forge is a repository including tons of packages and providing the packages complimentary)


4. install requirements

$ pip install -r requirements.txt
$ pip install -e .

5. install nuscenes

$ pip install nuscenes-devkit


6. NVIDIA GeForce RTX 3090 compatible issue occurs, start step 1 with the following

$ pip install torch==1.11+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html