Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'pretrained_cfg' #102

Open
tenseisoham opened this issue May 10, 2024 · 1 comment

Comments

@tenseisoham
Copy link

Traceback (most recent call last):
File "D:\sem6\MAE-pytorch\run_mae_vis.py", line 141, in
main(opts)
File "D:\sem6\MAE-pytorch\run_mae_vis.py", line 81, in main
model = get_model(args)
File "D:\sem6\MAE-pytorch\run_mae_vis.py", line 64, in get_model
model = create_model(
File "D:\anaconda\lib\site-packages\timm\models_factory.py", line 117, in create_model
model = create_fn(
File "D:\sem6\MAE-pytorch\modeling_pretrain.py", line 306, in pretrain_mae_base_patch16_224
model = PretrainVisionTransformer(
TypeError: init() got an unexpected keyword argument 'pretrained_cfg'

@FVT34U
Copy link

FVT34U commented Aug 8, 2024

same, have any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants