1
1
1
框架组件
AttributeError: 'migraphx.program' object has no attribute 'get_inputs'
2024-03-25 09:25:14
110

使用“yolov5_migraphx”代码中,执行 python YoloV5_infer_migraphx.py --staticInfer,出现以下报错:
Traceback (most recent call last):
File "YoloV5_infer_migraphx.py", line 197, in <module> 
yolov5_Static(args.imgPath, args.staticModelPath, args.objectThreshold, args.confThreshold, args.nmsThreshold)
File "YoloV5_infer_migraphx.py", line 144, in yolov5_Static
yolov5_detector = YOLOv5(modelpath, False, obj_thres=objectThreshold, conf_thres=confThreshold,
File "YoloV5_infer_migraphx.py", line 39, in __init__
inputs = self.model.get_inputs()
AttributeError: 'migraphx.program' object has no attribute 'get_inputs'

全部评论(1)
只看楼主
P
panhuiwen
1楼
请切换到 DTK-23.10.1对应的MIGraphx 4.1.0 版本测试,下载链接:https://download.sourcefind.cn:65024/4/main/migraphx/dtk23.10.1
2024/3/25
没有更多内容了
--
楼主
Level.4
0 帖子
楼主热帖
暂无数据