Skip to content
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

yolov5 #216

Open
fangwei888 opened this issue Jul 27, 2023 · 1 comment
Open

yolov5 #216

fangwei888 opened this issue Jul 27, 2023 · 1 comment

Comments

@fangwei888
Copy link

Epoch gpu_mem box obj cls total labels img_size
0%| | 0/169 [00:02<?, ?it/s]
Traceback (most recent call last):
File "D:/yolov5-5.0/train.py", line 543, in
train(hyp, opt, device, tb_writer)
File "D:/yolov5-5.0/train.py", line 304, in train
loss, loss_items = compute_loss(pred, targets.to(device)) # loss scaled by batch_size
File "D:\yolov5-5.0\utils\loss.py", line 117, in call
tcls, tbox, indices, anchors = self.build_targets(p, targets) # targets
TypeError: cannot unpack non-iterable NoneType object

@Hyson07
Copy link

Hyson07 commented Jan 29, 2024

I have the same questions,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants