Open HoWingYip opened 1 month ago
During inference, do not use the config file that ends with _mdl.py
, which is only used during training.
Try to replace
configs/LVISCOCOCOCOSTUFF_O365_OID_VGR_SA1B_REFCOCO_GQA_PhraseCut_Flickr30k/ape_deta/ape_deta_vitt_eva02_vlf_lsj1024_cp_16x4_1080k_mdl.py
with
configs/LVISCOCOCOCOSTUFF_O365_OID_VGR_SA1B_REFCOCO_GQA_PhraseCut_Flickr30k/ape_deta/ape_deta_vitt_eva02_vlf_lsj1024_cp_16x4_1080k.py
.
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.