Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
AllenWrong 8f78085c13 | 1 year ago | |
---|---|---|
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
args.json | 1 year ago | |
dataset.py | 1 year ago | |
eval.sh | 1 year ago | |
eval_linear.py | 1 year ago | |
foundation_vit.py | 1 year ago | |
lib.py | 1 year ago | |
loss.py | 1 year ago | |
models.py | 1 year ago | |
train.py | 1 year ago | |
train_linear.sh | 1 year ago | |
train_vit.sh | 1 year ago | |
transforms.py | 1 year ago | |
utils.py | 1 year ago | |
vision_transformer.py | 1 year ago |
Dino paddle implemetion
full_checkpoint 提取码:uyt7
linear_checkpoint 提取码:3j5t
在train_vit.sh
设置如下参数:
在train_linear.sh
设置如下参数:
--gpus:gpu ids
--data_path:训练集路径
--pretrained_weights:backbone的预训练模型。默认即可
--output_dir:日志、模型的保存目录
--batch_size:32,训练分类层、评估模型时都是32。四卡的话就是4*32=128
在eval.sh
中设置如下参数:
No Description
Python Shell
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》