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
python train_net.py --num-gpus 8 --config-file configs/VLDet_LbaseCCcap_CLIP_R5021k_640b64_2x_ft4x_caption.yaml --eval-only MODEL.WEIGHTS models/lvis_vldet.pth
[03/06 02:12:52] timm.models.helpers WARNING: No pretrained configuration specified for resnet50_in21k model. Using a default. Please add a config to the model pretrained_cfg registry or pass explicitly.
Traceback (most recent call last):
File "train_net.py", line 269, in
launch(
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/engine/launch.py", line 82, in launch
main_func(*args)
File "train_net.py", line 230, in main
model = build_model(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/modeling/meta_arch/build.py", line 22, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/config/config.py", line 189, in wrapped
explicit_args = _get_args_from_config(from_config_func, *args, **kwargs)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/config/config.py", line 245, in _get_args_from_config
ret = from_config_func(*args, **kwargs)
File "/content/drive/MyDrive/VLDet/vldet/modeling/meta_arch/custom_rcnn.py", line 67, in from_config
ret = super().from_config(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/modeling/meta_arch/rcnn.py", line 73, in from_config
backbone = build_backbone(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/modeling/backbone/build.py", line 31, in build_backbone
backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg, input_shape)
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 171, in build_p67_timm_fpn_backbone
bottom_up = build_timm_backbone(cfg, input_shape)
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 158, in build_timm_backbone
model = TIMM(
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 114, in init
self.base = create_timm_resnet(
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 73, in create_timm_resnet
return build_model_with_cfg(
File "/usr/local/lib/python3.8/dist-packages/timm/models/helpers.py", line 537, in build_model_with_cfg
model = model_cls(**kwargs) if model_cfg is None else model_cls(cfg=model_cfg, **kwargs)
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 31, in init
super().init(**kwargs)
TypeError: init() got an unexpected keyword argument 'default_cfg'
The text was updated successfully, but these errors were encountered:
python train_net.py --num-gpus 8 --config-file configs/VLDet_LbaseCCcap_CLIP_R5021k_640b64_2x_ft4x_caption.yaml --eval-only MODEL.WEIGHTS models/lvis_vldet.pth
[03/06 02:12:52] timm.models.helpers WARNING: No pretrained configuration specified for resnet50_in21k model. Using a default. Please add a config to the model pretrained_cfg registry or pass explicitly.
Traceback (most recent call last):
File "train_net.py", line 269, in
launch(
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/engine/launch.py", line 82, in launch
main_func(*args)
File "train_net.py", line 230, in main
model = build_model(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/modeling/meta_arch/build.py", line 22, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/config/config.py", line 189, in wrapped
explicit_args = _get_args_from_config(from_config_func, *args, **kwargs)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/config/config.py", line 245, in _get_args_from_config
ret = from_config_func(*args, **kwargs)
File "/content/drive/MyDrive/VLDet/vldet/modeling/meta_arch/custom_rcnn.py", line 67, in from_config
ret = super().from_config(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/modeling/meta_arch/rcnn.py", line 73, in from_config
backbone = build_backbone(cfg)
File "/content/drive/MyDrive/VLDet/detectron2/detectron2/modeling/backbone/build.py", line 31, in build_backbone
backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg, input_shape)
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 171, in build_p67_timm_fpn_backbone
bottom_up = build_timm_backbone(cfg, input_shape)
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 158, in build_timm_backbone
model = TIMM(
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 114, in init
self.base = create_timm_resnet(
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 73, in create_timm_resnet
return build_model_with_cfg(
File "/usr/local/lib/python3.8/dist-packages/timm/models/helpers.py", line 537, in build_model_with_cfg
model = model_cls(**kwargs) if model_cfg is None else model_cls(cfg=model_cfg, **kwargs)
File "/content/drive/MyDrive/VLDet/vldet/modeling/backbone/timm.py", line 31, in init
super().init(**kwargs)
TypeError: init() got an unexpected keyword argument 'default_cfg'
The text was updated successfully, but these errors were encountered: