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

Getting Assertion Error while using panoptic segmentation #535

Closed
plutus123 opened this issue Jul 8, 2024 · 0 comments
Closed

Getting Assertion Error while using panoptic segmentation #535

plutus123 opened this issue Jul 8, 2024 · 0 comments

Comments

@plutus123
Copy link

plutus123 commented Jul 8, 2024

!python panoptic/train.py --workers 8 --device 0 --batch 32 --data WALL-INSTANCEE-2/data.yaml --img 640 --cfg models/panoptic/gelan-c-pan-custom.yaml --weights '' --name gelan-c-pan --hyp hyp.scratch-high.yaml --no-overlap --epochs 100 --close-mosaic 10

train: New cache created: /workspace/yolov9-pan/WALL-INSTANCEE-2/train/stuff_stuff.cache
Traceback (most recent call last):
File "/workspace/yolov9-pan/panoptic/train.py", line 662, in
main(opt)
File "/workspace/yolov9-pan/panoptic/train.py", line 558, in main
train(opt.hyp, opt, device, callbacks)
File "/workspace/yolov9-pan/panoptic/train.py", line 169, in train
train_loader, dataset = create_dataloader(
File "/workspace/yolov9-pan/utils/panoptic/dataloaders.py", line 49, in create_dataloader
dataset = LoadImagesAndLabelsAndMasks(
File "/workspace/yolov9-pan/utils/panoptic/dataloaders.py", line 150, in init
assert (0 < nf) or (not augment), f'{prefix}No labels found in {cache_path}, can not start training. {HELP_URL}'
AssertionError: train: No labels found in /workspace/yolov9-pan/WALL-INSTANCEE-2/train/stuff_stuff.cache, can not start training. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data

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