You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
使用量化后的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
The text was updated successfully, but these errors were encountered: