他的回复:
2021-04-16 10:36:02,667[1953][ERROR][SFW] Ascend 310: aiModelManager Process failed, please check your input. Model info:inputTensorVec[0]: name=images n=1 c=3 h=640 w=640 size=1228800outputTensorVec[0]: name=output_0_anchors_0 n=51150 c=4 h=1 w=1 size=818400outputTensorVec[1]: name=output_1_box_encodings_0 n=1 c=4 h=1 w=51150 size=818400outputTensorVec[2]: name=output_2_class_predictions_with_background_0 n=1 c=24 h=1 w=51150 size=4910400your input size:0: 1228800; Traceback (most recent call last): File "/home/huser/projects/ssd-voc2007/start.py", line 18, in main.run(work_path) File "./src/main/python/main.py", line 43, in run bboxes = get_result(output, img_w, img_h) # 获取检测结果 File "./src/main/python/utils.py", line 130, in get_result pred = model_outputs[2 - ix].reshape((num_channel, net_h // stride_list[ix], net_w // stride_list[ix]))TypeError: 'int' object is not subscriptable