janghyuncho / DECOLA

Code release for "Language-conditioned Detection Transformer"
https://arxiv.org/abs/2311.17902
82 stars 4 forks source link

No module named 'third_party.DETA' #6

Closed Dwrety closed 8 months ago

Dwrety commented 8 months ago

While following the training guide training phase I, I found this error python train_net.py --num-gpus 8 --config-file DECOLA_PHASE1_Lbase_CLIP_R5021k_4x.yaml

from third_party.DETA.models.deformable_detr import SetCriterion
ModuleNotFoundError: No module named 'third_party.DETA'

was the DETA really meant for Deformable-DETR?

Dwrety commented 8 months ago

I temporarily got around it by commenting everything wrt DETA in the initfile. But got new error. File "/media/Dormammu/hanz3/DECOLA/decola/modeling/backbone/timm.py", line 83, in create_timm_resnet default_cfgs_resnet['resnet50_in21k']['url'] = \ TypeError: 'DefaultCfg' object does not support item assignment

Dwrety commented 8 months ago

Solved it by downgrade timm to 0.5.4