1.cuda+cudnn+ 8.2.4
2.pytorch
pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio===0.10.1+cu113 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=10000 -f https://download.pytorch.org/whl/torch_stable.html
3.opencv
make -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_EXTRA_MODULES_PATH= ../opencv_contrib-3.4.16/modules -D PYTHON_EXCUTABLE=/usr/bin/python3 ..
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-3.4.16/modules/ ..
4.python 3.3.12
升级pip
python3 -m pip install --upgrade pip
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)