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
When I try to run inference using APE-Ti, I get the following error:
Traceback (most recent call last):
File "/home/jupyter/TIL-2024/vlm/train/APE/demo/demo_lazy.py", line 134, in <module>
demo = VisualizationDemo(cfg, args=args)
File "/home/jupyter/TIL-2024/vlm/train/APE/demo/predictor_lazy.py", line 138, in __init__
self.metadata = MetadataCatalog.get(
File "/home/jupyter/.local/lib/python3.9/site-packages/omegaconf/listconfig.py", line 176, in __getattr__
self._format_and_raise(
File "/home/jupyter/.local/lib/python3.9/site-packages/omegaconf/base.py", line 190, in _format_and_raise
format_and_raise(
File "/home/jupyter/.local/lib/python3.9/site-packages/omegaconf/_utils.py", line 821, in format_and_raise
_raise(ex, cause)
File "/home/jupyter/.local/lib/python3.9/site-packages/omegaconf/_utils.py", line 719, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set end OC_CAUSE=1 for full backtrace
omegaconf.errors.ConfigAttributeError: ListConfig does not support attribute access
full_key: dataloader.train[dataset]
object_type=list
Error occurs on line 138 of demo/predictor_lazy.py when accessing cfg.dataloader.train.dataset.names. cfg.dataloader.train is a ListConfig of 9 datasets.
When inferring on APE-D, cfg.dataloader.train appears to be a single dataset, and I don't get this error.
When I try to run inference using APE-Ti, I get the following error:
Error occurs on line 138 of demo/predictor_lazy.py when accessing
cfg.dataloader.train.dataset.names
.cfg.dataloader.train
is a ListConfig of 9 datasets.When inferring on APE-D,
cfg.dataloader.train
appears to be a single dataset, and I don't get this error.The command I run for APE-Ti is:
For APE-D, I run:
Any help is appreciated. Thanks.
The text was updated successfully, but these errors were encountered: