×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

官方pytorch开发性能测试报错 解决中 zoey_7777772023-08-31 18:58:20 回复 1 查看 技术答疑 使用求助 经验交流
官方pytorch开发性能测试报错
分享到:

运行/torch/src/pytorch_models/Inference/Classification/mobilenetv3/classify.py 代码报错

AttributeError: module 'torch_mlu' has no attribute 'Input'

具体报错信息为

Traceback (most recent call last):

  File "/torch/src/pytorch_models/Inference/Classification/mobilenetv3/classify.py", line 402, in <module>

    test_cls_network(args)

  File "/torch/src/pytorch_models/Inference/Classification/mobilenetv3/classify.py", line 191, in test_cls_network

    torch_mlu.Input(

AttributeError: module 'torch_mlu' has no attribute 'Input'


Process finished with exit code 1


版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭