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

RuntimeError: Unknown model (vim_tiny_patch16_224_bimambav2_final_pool_mean_abs_pos_embed_with_midclstok_div2) #131

Open
hhhhhh45 opened this issue Jan 14, 2025 · 1 comment

Comments

@hhhhhh45
Copy link

model = create_model( 
    args.model, 
    pretrained=False,
    num_classes=args.nb_classes,
    drop_rate=args.drop,
    drop_path_rate=args.drop_path,
    drop_block_rate=None,
    img_size=args.input_size
)

thanks for your contribution. Why is it?
@MinDeng1030
Copy link

When I deleted this line: import models_mamba in main.py, it raised the same error. After I added it back, the code worked.
I guess the timm library needs to read those registered models in models_mamba.py (line 555-615).
Hope this helps.

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