首页 > 解决方案 > 模块“torch.jit”没有属性“未使用”

问题描述

我是一名学生,试图使用 Ultra96 进行面部识别,但我在运行我的程序时遇到了麻烦。

我尝试将夜间版本安装到我的 Ultra96 中,但是它并没有解决我的问题。当前的操作系统是 pynq 2.6,它是 Linux,它使用 jupyter notebook 来运行代码。

请给我一些指导!

标签: jupyter-notebookpytorchartificial-intelligencefpgatorchvision

解决方案


使用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


推荐阅读