针对的是python
安装pytorch
官网选择相应的系统,python版本,根据命令安装
若出错误 [WinError 5] 拒绝访问…Consider using the --user
option or check the permissions.
则第二条命令改为pip3 --user install torchvision
pytorch官网
安装opencv
命令: pip install opencv-python
安装lmdb
命令 pip install lmdb