-
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
YOLOv7 0.00 mAP #485
Comments
Can you provide more information about hyperparameters? |
Yes! Of course. E:/yolov7/python train.py --batch 32 --img-size 640 |
Also I should mention the hyp.scratch.p5.yaml I am using is the default one provided by this github with no changes. |
In README.md: |
Correct, the .cache files were deleted and regenerated. I trained again last night, but I still received mAP 0.0 results over 100 epochs. I am working with a tiled image dataset so I know my images contained a large number of Empty images, however, this should not be a problem. |
Attach all charts from |
|
Hello, |
@AlexeyAB |
@parto-mahdi Could you try to train using the latest code
|
我遇到了同样的问题 |
是因为YOLOv7-tiny相比YOLOv5s、YOLOv4等更难收敛吗?同样的数据与参数设置,后两者可以正常训练 |
I I'm having the same problem, does anyone have a solution yet? |
I am training on a one-class dataset. I made sure to change 'nc: 1' (number of classes = 1) in the yolov7.cfg. I am running it on anaconda and my data is being read correctly + training is executing. (AVG: Epoch Length 5 min -> 10 min @ 32 batch size).
This is my training command:
E:/yolov7/python train.py --batch 32 --img-size 640 --cfg E:/yolov7/cfg/training/yolov7.yaml --epochs 100 -- data E:/Trainig_Data/data.yaml --weights E:/yolov7/yolov7.pt --device 0
I set epochs to 100 just for a preliminary attempt. Overnight, I checked wandb.ai for the metrics at 67/100 epochs and there is no training done. mAP = 0.0, precision = 0.0, recall =0.0.
The training dataset should be completely fine because I used it to train YOLOv5 with no problems. Can anyone shed light on why mAP is stuck 0.0?
The text was updated successfully, but these errors were encountered: