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

hello, a little question about this code. #41

Closed
thebestYezhang opened this issue Nov 30, 2021 · 4 comments
Closed

hello, a little question about this code. #41

thebestYezhang opened this issue Nov 30, 2021 · 4 comments

Comments

@thebestYezhang
Copy link

I am beginner and crazy about this MAE, but about the pretrained model--pretrain_mae_vit_base_mask_0.75_400e.pth downloaded from BaiDu yun, I really wanna know where to load it in the file. Can it be used in modeling_pretrain.py?

@pengzhiliang
Copy link
Owner

Yes, maybe the visualization is a good start.

@thebestYezhang
Copy link
Author

不好意思,我没懂您的意思。是这样的,我想加载你们的MAE训练好的模型,也就是pretrain_mae_vit_base_mask_0.75_400e.pth这个权重。然后取出encoder部分进行finetune,然后去做我的分类任务,这样子应该怎么操作呢?指导一下,感激不尽!!!

@pengzhiliang
Copy link
Owner

Ok. You can fine tune it on your dataset.
Please reference: run_class_finetuning.py

@zsddd
Copy link

zsddd commented Jan 2, 2022

不好意思,我没懂您的意思。是这样的,我想加载你们的MAE训练好的模型,也就是pretrain_mae_vit_base_mask_0.75_400e.pth这个权重。然后取出encoder部分进行finetune,然后去做我的分类任务,这样子应该怎么操作呢?指导一下,感激不尽!!!

你好,请问你这个分类任务成功的吗?可否提供下代码,感谢

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

3 participants