You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, why do I get this error when I run the coco instance_2017 dataset with the source program?
This error is as follows
Traceback (most recent call last):
File "/home/hndx/detectron2-main/detectron2/projects/EntitySeg/train_net.py", line 81, in
args=(args,),
File "/home/hndx/detectron2-main/detectron2/engine/launch.py", line 82, in launch
main_func(*args)
File "/home/hndx/detectron2-main/detectron2/projects/EntitySeg/train_net.py", line 67, in main
trainer = Trainer(cfg)
File "/home/hndx/detectron2-main/detectron2/engine/defaults.py", line 378, in init
data_loader = self.build_train_loader(cfg)
File "/home/hndx/detectron2-main/detectron2/projects/EntitySeg/train_net.py", line 33, in build_train_loader
return build_detection_train_loader(cfg, mapper)
File "/home/hndx/detectron2-main/detectron2/config/config.py", line 207, in wrapped
explicit_args = _get_args_from_config(from_config, *args, **kwargs)
File "/home/hndx/detectron2-main/detectron2/config/config.py", line 245, in _get_args_from_config
ret = from_config_func(*args, **kwargs)
File "/home/hndx/detectron2-main/detectron2/data/build.py", line 350, in _train_loader_from_config
proposal_files=cfg.DATASETS.PROPOSAL_FILES_TRAIN if cfg.MODEL.LOAD_PROPOSALS else None,
File "/home/hndx/detectron2-main/detectron2/data/build.py", line 278, in get_detection_dataset_dicts
assert len(dataset_dicts), "No valid data found in {}.".format(",".join(names))
AssertionError: No valid data found in coco_2017_train_entity.
The text was updated successfully, but these errors were encountered:
longlizhi
changed the title
AssertionError: No valid data found in coco_2017_train_entity.
AssertionError: No valid data found in coco_2017_train_entity.
Jul 30, 2022
Thanks, sorry for not replying to your message in time, I've been a bit busy these days.
First of all, I configured the network environment based on the readme file given in the author's article, and I think this should be fine. In addition, when I configured the coco dataset, I found that the dataset was too big, so I didn't download it. I would like to ask if there is any way to know that there is no network error without configuring the original coco dataset.
Hi, why do I get this error when I run the coco instance_2017 dataset with the source program?
This error is as follows
Traceback (most recent call last):
File "/home/hndx/detectron2-main/detectron2/projects/EntitySeg/train_net.py", line 81, in
args=(args,),
File "/home/hndx/detectron2-main/detectron2/engine/launch.py", line 82, in launch
main_func(*args)
File "/home/hndx/detectron2-main/detectron2/projects/EntitySeg/train_net.py", line 67, in main
trainer = Trainer(cfg)
File "/home/hndx/detectron2-main/detectron2/engine/defaults.py", line 378, in init
data_loader = self.build_train_loader(cfg)
File "/home/hndx/detectron2-main/detectron2/projects/EntitySeg/train_net.py", line 33, in build_train_loader
return build_detection_train_loader(cfg, mapper)
File "/home/hndx/detectron2-main/detectron2/config/config.py", line 207, in wrapped
explicit_args = _get_args_from_config(from_config, *args, **kwargs)
File "/home/hndx/detectron2-main/detectron2/config/config.py", line 245, in _get_args_from_config
ret = from_config_func(*args, **kwargs)
File "/home/hndx/detectron2-main/detectron2/data/build.py", line 350, in _train_loader_from_config
proposal_files=cfg.DATASETS.PROPOSAL_FILES_TRAIN if cfg.MODEL.LOAD_PROPOSALS else None,
File "/home/hndx/detectron2-main/detectron2/data/build.py", line 278, in get_detection_dataset_dicts
assert len(dataset_dicts), "No valid data found in {}.".format(",".join(names))
AssertionError: No valid data found in coco_2017_train_entity.
The text was updated successfully, but these errors were encountered: