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

Could you add some instructions on how to fine-tune the pretrained model in both step 1 and step 2? #5

Open
jocskywalker opened this issue Sep 11, 2024 · 0 comments

Comments

@jocskywalker
Copy link

Hi,
Could you add some instructions on how to fine-tune the pretrained model in both step 1 and step 2? In step 1, I tried the config below: python main.py --model deit_tiny_patch16_224 --data-path /mnt//ViTCoD-main/data/CLS-LOC --lr 1e-5 --weight-decay 1e-8 --epochs 100 --resume exp_hr/svd/deit_tiny/deit_tiny_patch16_224-a1311bcf.pth --output_dir exp_hr/lowrank_sparse/deit_tiny/deit_tiny_info50 --svd_type 'mix_head_fc_qk' --need_weight , but get a very low accuracy in imagenet1k, the pretrained model is download from the DeiT official Lib. And should I use the gen_mask to create sparse mask before the step 2 training?

Thanks in advance
6ef837dbca2e16b6f460503ddfbfebe0

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

1 participant