-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Closed
Description
@glenn-jocher hi,I think this modify will make mistakes.
🐛 Bug
A clear and concise description of what the bug is.
Traceback (most recent call last):
File "E:\yolov5\train.py", line 623, in <module>
hyp[k] = max(hyp[k], v[1]) # lower limit
KeyError: 'anchors'
I think it is because the following is commented in hyp.scratch,yaml.
# anchors: 3 # anchors per output layer (0 to ignore)
Input
I used the pretrained weights:https://github.com/google/automl/tree/master/efficientnetv2.
I used the anchors,and it worked.
Output:
Image sizes 704 train, 704 test
Using 0 dataloader workers
Logging results to runs\train\evolve
Starting training for 300 epochs...
Epoch gpu_mem box obj cls total labels img_size
0/299 2.57G 0.121 0.2745 0 0.3955 77 704: 100%|██████████| 350/350 [01:55<00:00, 3.04it/s]
Metadata
Metadata
Assignees
Labels
No labels