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
{{ message }}
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
for i, img in enumerate(images):
# 產生有框的 output files
create_overlay(img, results[i], voc_classes,
output_directory+"/{}.png".format(basename(os.path.splitext(imagesList[i])[0])))
for i, img in enumerate(images):
# 產生有框的 output files
create_overlay(img, results[i], voc_classes,
output_directory+"/{}.png".format(basename(os.path.splitext(imagesList[i])[0])))
TypeError Traceback (most recent call last)
in ()
29 # 產生有框的 output files
30 create_overlay(img, results[i], voc_classes,
---> 31 output_directory)
32
33
in create_overlay(self, img, results, plt_fname)
2 plt.clf()
3 # Parse the outputs.
----> 4 det_label = results[:, 0]
5 det_conf = results[:, 1]
6 det_xmin = results[:, 2]
TypeError: list indices must be integers or slices, not tuple
How to correct this?thank you
The text was updated successfully, but these errors were encountered: