使用inf跑deeplabv3+mobilnetv2报错
Created by: y-kl8
使用量化后的deeplabv3+mobilnetv2_cityscapes模型,出现如下报错:
Traceback (most recent call last): File "infer.py", line 321, in run(gflags.FLAGS.conf, gflags.FLAGS.input_dir, gflags.FLAGS.ext) File "infer.py", line 303, in run seg_predictor.predict(imgs) File "infer.py", line 278, in predict self.output_result(img_datas, output_data, gflags.FLAGS.use_pr) File "infer.py", line 228, in output_result score_png[i, j] = color_map[score_png[i, j, 0]] IndexError: list index out of range