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

请问报这错啥原因啊,用的VisDrone数据集训练TPH-yolov5 #68

Open
KingTerminatora opened this issue Mar 30, 2022 · 0 comments

Comments

@KingTerminatora
Copy link

Traceback (most recent call last):
File "train.py", line 678, in
main(opt)
File "train.py", line 575, in main
train(opt.hyp, opt, device, callbacks)
File "train.py", line 230, in train
train_loader, dataset = create_dataloader(train_path, imgsz, batch_size // WORLD_SIZE, gs, single_cls,
File "H:\513work\FiberHomeWork\YOLOv5-Multibackbone-Compression-main\utils\datasets.py", line 99, in create_dataloader
dataset = LoadImagesAndLabels(path, imgsz, batch_size,
File "H:\513work\FiberHomeWork\YOLOv5-Multibackbone-Compression-main\utils\datasets.py", line 435, in init
labels, shapes, self.segments = zip(*cache.values())
ValueError: not enough values to unpack (expected 3, got 0)

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

1 participant