File size: 425 Bytes
223aff6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# update pip 

function setup_py(){
conda create -n dl python=3.9 -y
conda init bash
bash
}

conda activate dl 
export DEBIAN_FRONTEND=noninteractive && \
    sudo apt-get update && \
    sudo apt-get install cmake build-essential  -y --no-install-recommends


pip install --upgrade pip
pip3 install torch --extra-index-url https://download.pytorch.org/whl/cpu
pip3 install onnxruntime Cython
pip install -r requirements.txt