-
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
Training crashing for instance segmentation at U7 #795
Comments
you should use segmentation labels instead of detection labels. |
@aqsc I do already, I converted them from COCO format with the tool mentioned above suggested by WongKinYiu. This is an example of my label file:
|
@alrightkami I am able to do the custom instance segmentation model training. Maybe this post can help- |
I'm getting the same crash, but mine occurs somewhat randomly. Here the crash occurred on the 8th epoch:
|
@dilpreetsingh Can you share which tool you used for annotation? I am quite sure that the issue is about annotation. |
@Nikunj2696 I wrote my own polygon conversion script because my data is in PascalVOC and I couldn't find anything that would go directly from PascalVOC to Darknet. As I understand it, the format is simply:
It seems to do great for a certain number of epochs but has trouble with the |
@dilpreetsingh Please use https://roboflow.com/ for annotation. I faced the same issue but solved it. This annotation tool helps you. |
I ran into this problem when using the "hyp.scratch-high.yaml" hyperparameter config file which has mixup enabled. I would suggest using hyp.scratch-low.yaml to resolve this problem temporarily if mixup is not desirable |
Learn to train from custom dataset for instance segmentation Read this blog |
I'm trying to start a training on the u7 branch for Instance Segmentation, but getting an error and can't figure out what it refers to.
The script:
!cd data/yolov7/seg && python segment/train.py --data data/graffiti.yaml --batch 16 --weights yolov7-seg.pt --cfg yolov7-seg.yaml --epochs 300 --name yolov7-seg --img 640 --hyp hyp.scratch-high.yaml
To generate data I used this script.
The text was updated successfully, but these errors were encountered: