YOLOU
YOLOU copied to clipboard
yolov7 train error
Starting training for 100 epochs...
Epoch gpu_mem box obj cls labels img_size
0%| | 0/190 [00:05<?, ?it/s]
Traceback (most recent call last):
File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 771, in
If You want to train Yolov7, You need set use_aux as True.
---- Replied Message ---- | From | @.> | | Date | 7/30/2022 10:14 | | To | @.> | | Cc | @.***> | | Subject | [jizhishutong/YOLOU] yolov7 train error (Issue #14) |
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
If You want to train Yolov7, You need set use_aux as True.
---- Replied Message ---- | From | @.> | | Date | 8/1/2022 15:09 | | To | @.> | | Cc | @.***> | | Subject | Re: [jizhishutong/YOLOU] yolov7 train error (Issue #14) |
Starting training for 100 epochs...
Epoch gpu_mem box obj cls labels img_size
0%| | 0/190 [00:05<?, ?it/s] Traceback (most recent call last): File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 771, in main(opt) File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 669, in main train(opt.hyp, opt, device, callbacks) File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 449, in train loss, loss_items = compute_loss(pred, targets.to(device)) TypeError: call() missing 1 required positional argument: 'imgs'
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Epoch gpu_mem box obj cls labels img_size
0%| | 0/190 [00:06<?, ?it/s]
Traceback (most recent call last):
File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 771, in
Excuse me why
Epoch gpu_mem box obj cls labels img_size 0%| | 0/190 [00:06<?, ?it/s] Traceback (most recent call last): File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 771, in main(opt) File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 669, in main train(opt.hyp, opt, device, callbacks) File "/home/hanrenkun/F/test/YOLOU-main/train.py", line 447, in train loss, loss_items = compute_loss(pred, targets.to(device), imgs) # init loss class File "/home/hanrenkun/F/test/YOLOU-main/utils/loss.py", line 1000, in call pi_aux = p[i + self.nl] IndexError: list index out of range
Excuse me why
excuse me, Have you fixed the problem?