-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Train.py - _pickle.UnpicklingError: STACK_GLOBAL requires str #163
Comments
Delete the labels.cache in each train, val and test folders. I had this exact same problem a few days ago, I had first trained a yolov5 model and that created labels.cache files in the folders, when you try to train with yolov7, the program will look for label.cache files, the problem is that these files are not compatible between each yolo version. So you should just delete them. |
Great! I just did it. It works!! How about the results you got? Are they better than the one of Yolov5? Many thanks, |
Many thanks! It helps me a lot! |
thanks |
many thanks |
enormous gratitude |
thanks, this helps me a lot |
Dear Yolov7,
I got the following error when I run train.py on a custom dataset with the weight (pretrained COCO) https://github.com/WongKinYiu/yolov7/releases/download/v0.1/yolov7x.pt
Do you have any solution?
Thanks,
The text was updated successfully, but these errors were encountered: