source ~/anaconda3/etc/profile.d/conda.sh
cd ..
conda create -n mipnet python=3.8 -y
conda activate mipnet
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge -y
pip install Cython h5py
pip install -r requirements.txt
pip install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'## to avoid the pycoco numpy bug
cd lib/crowdpose-api/crowdpose-api/PythonAPI
./install.sh
cd ../../../..
cd lib/nms
make clean
make
cd ../..