Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #1

Open
liuqiang1227 opened this issue Dec 22, 2023 · 0 comments
Open

IndexError: list index out of range #1

liuqiang1227 opened this issue Dec 22, 2023 · 0 comments

Comments

@liuqiang1227
Copy link

[ERROR] [1703211340.680502]: bad callback: <bound method DetectorManager.imageCb of <main.DetectorManager object at 0x7ff2990bb880>>
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/a/123/src/darknet_ros/yolov3_pytorch_ros/src/detector.py", line 138, in imageCb
detection_msg.Class = self.classes[int(det_class)]
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant