jupyter-notebook - 模块“torch.jit”没有属性“未使用”
问题描述
我是一名学生,试图使用 Ultra96 进行面部识别,但我在运行我的程序时遇到了麻烦。
我尝试将夜间版本安装到我的 Ultra96 中,但是它并没有解决我的问题。当前的操作系统是 pynq 2.6,它是 Linux,它使用 jupyter notebook 来运行代码。
请给我一些指导!
解决方案
使用torchvision 0.4.0
:
pip uninstall torchvision
pip install torchvision==0.4.0 -f https://download.pytorch.org/whl/torch_stable.html
这肯定会起作用
编辑:如果上面的 cmd 不起作用,请使用它pip install torchvision==0.4.0
推荐阅读
- sql-server - 使 SQL Server LocalDb 可移植
- sql-server-2008-r2 - 具有格式的 SQL Server 时间数据类型
- git - 如何以另一个用户身份提交和推送
- swift - AudioKit,将 AVAudioPCMBuffer 数组导出到带有淡入/淡出的音频文件
- javascript - JavaScript 让 Python 的 Selenium 陷入困境
- python-3.x - 如何在 QGIS 中查询属性表以返回子集的总和
- php - PHP curl -- 如果已经登录到某个网站,如何获取其他页面的内容
- android - 程序类型已经存在:com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable
- python - 如何将两个程序合并为一个程序?
- python - Kivy.garden.progressspinner 中的黑线