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

code cannot successfully run for YOLOX Object Detector Paper Explanation and Custom Training #946

Open
bkornpob-sertiscorp opened this issue Aug 26, 2024 · 2 comments

Comments

@bkornpob-sertiscorp
Copy link

bkornpob-sertiscorp commented Aug 26, 2024

Hello. First of all, I would like to thank learnopencv for sharing these awesome learning materials.

Currently, I am trying to learn how to use the yolox for object detection. I found your article (https://learnopencv.com/yolox-object-detector-paper-explanation-and-custom-training/) and the github repo. I simply downloaded YOLOX_training_on_custom_drone_dataset.ipynb from the given Google Colab link, and ran the code inside. During the training step, it trained the first epoch and crashed during evaluation process before starting the next epoch. The error says:

ValueError: operands could not be broadcast together with shapes (24,5) (0,)

(see attached train_log.txt for details). I just downloaded yolox this past week. I wondered if the current yolox version causes the problem.

Added 20240827 -- I think this is the same issue here Megvii-BaseDetection/YOLOX#1701

Thank you very much.
Warm regards,
KB

train_log.txt

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

3 participants
@bkornpob-sertiscorp and others