【问题标题】:module 'torch.jit' has no attribute 'unused'模块“torch.jit”没有属性“未使用”
【发布时间】:2021-04-09 08:21:15
【问题描述】:

我是一名学生,尝试使用 Ultra96 进行面部识别,但我在运行程序时遇到了问题。

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

请给我一些指导!

【问题讨论】:

    标签: jupyter-notebook pytorch artificial-intelligence fpga torchvision


    【解决方案1】:

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

    【讨论】:

    • 您好,感谢您的回复。不幸的是,我无法使用您在上面发送的命令找到所需的版本。
    • 单独试试这个pip install torchvision==0.4.0
    猜你喜欢
    • 2021-05-03
    • 1970-01-01
    • 1970-01-01
    • 2020-06-04
    • 2021-12-24
    • 2015-05-08
    • 2020-10-17
    • 2020-10-03
    • 2018-08-11
    相关资源
    最近更新 更多