Closed vishnu41 closed 5 years ago
Attached file is used at yolov2. But your error is occurred while yolov3 is running. Would you check the command or cfg once more?
Got it. The problem was with the data. Anyway thanks for the code man
On Thu, Mar 21, 2019 at 12:01 PM Young-Sun (Andy) Yun < notifications@github.com> wrote:
Attached file is used at yolov2. But your error is occurred while yolov3 is running. Would you check the command or cfg once more?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andy-yun/pytorch-0.4-yolov3/issues/57#issuecomment-475124960, or mute the thread https://github.com/notifications/unsubscribe-auth/AmTI8NIduOdAzf5w1RMhKf2iEcnClpduks5vYyc9gaJpZM4b-6k5 .
I saw on the code of build_targets that the index best_n is a torch tensor (0), so I tried best_n = int(best_n.item()). But the error's still there. I don't understand because, during training, it runs normally, but when I call test function, this error occurs. Does anyone know the reason why? Thanks.
@mrkieumy there's problem with the one of the .txt file in test data set. One or more images in test data set is wrongly annotated. I got the error because there are more than given number of classes in one of the .txt file
Thank you very much @vishnu41 . You save my life :)
I'm getting this error only while using python3
find attached cfg file yolo-voc.txt