知不足而奋进,望远山而前行
—— 24.9.6
tensorflow
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.13.1
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
pytorch
pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 -f https://download.pytorch.org/whl/torch_stable.html
opencv
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python
在终端安装python解释器的目录下安装这三个包,然后在python中import导入