evit
evit copied to clipboard
TypeError: EViT.__init__() got an unexpected keyword argument 'default_cfg'
When running run_code.sh I get this error. Can you help?
Under what scenario did you use the code? I think this error won't happen in the original codebase.
When running run_code.sh I get this error. Can you help?
I believe it's due to the change in timm's build_model_with_cfg function variable name: default_cfg to pretrained_cfg.
I see. Thanks for the information.