我正在尝试训练我的自定义模型.但是我给出了不可下标的错误.我该怎么办?


TypeError                                 Traceback (most recent call last)
<ipython-input-29-8e6dca8c373a> in <module>()
79 
80 vis_util.visualize_boxes_and_labels_on_image_array(image_np, 
---> 81                                                    output_dict['detection_boxes'],
82                                                    output_dict['detection_classes'],
83                                                    output_dict['detection_scores'],
TypeError: 'NoneType' object is not subscriptable

我绝不是专家,但看起来您的output_dict可能丢失/类型为无?该字典是如何生成的?

但这里肯定需要更多信息。如果你不显示代码,这个网站上的人真的无法帮助你......

相关内容

最新更新