anaconda安裝包 下載包
【安裝matplotlib】
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==3.5.2
【安裝PIL】(如果已經(jīng)安裝了matplotlib,則無需單獨安裝)
pip install pillow
【安裝opencv】
pip install -i https://mirrors.aliyun.com/pypi/simple/ opencv-python==3.4.11.45
pip install -i https://mirrors.aliyun.com/pypi/simple/ opencv-contrib-python==3.4.11.45
【安裝numpy】 (如果已經(jīng)安裝了opencv,則無需單獨安裝)
pip install numpy==1.21.6 -i https://mirrors.aliyun.com/pypi/simple
【安裝mediapipe 】
pip install mediapipe==0.8.11 -i https://mirrors.aliyun.com/pypi/simple/
【安裝skimage包】
pip3 install scikit-image -i https://pypi.tuna.tsinghua.edu.cn/simple/
【安裝torch torchvision torchaudio】
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu116
【安裝torch imutils】
pip install imutils
轉(zhuǎn)onnx模型
pip install onnxruntime-gpu
pip install onnx onnxconverter-common
出現(xiàn) No module named ‘cpuinfo’ 錯誤,通過安裝:
pip install py-cpuinfo 解決該問題。
https://blog.csdn.net/txpp520/article/details/132424899
附加:
導出onnx模型
yolo export model=/**/weights/best.pt format=onnx opset=12文章來源:http://www.zghlxwxcb.cn/news/detail-821224.html
https://blog.csdn.net/qq_42178122/article/details/132828125文章來源地址http://www.zghlxwxcb.cn/news/detail-821224.html
到了這里,關于anaconda 安裝matplotlib 、PIL 、opencv、numpy、mediapipe、skimage、torch torchvision torchaudio、imutils、onnx的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!