-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# --------------- Finetune on CIFAR --------------- | ||
python mae_finetune.py \ | ||
--dataset cifar10 \ | ||
-m vit_nano \ | ||
--batch_size 256 \ | ||
--img_size 32 \ | ||
--patch_size 2 \ | ||
--max_epoch 50 \ | ||
--wp_epoch 5 \ | ||
--mae_pretrained | ||
|
||
# --------------- Finetune on ImageNet --------------- | ||
# python mae_finetune.py \ | ||
# --dataset imagenet_1k \ | ||
# -m vit_nano \ | ||
# --batch_size 256 \ | ||
# --img_size 224 \ | ||
# --patch_size 16 \ | ||
# --max_epoch 50 \ | ||
# --wp_epoch 5 \ | ||
# --mae_pretrained |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# --------------- Finetune on CIFAR --------------- | ||
python mae_finetune.py \ | ||
--dataset cifar10 \ | ||
-m vit_nano \ | ||
--batch_size 256 \ | ||
--img_size 32 \ | ||
--patch_size 2 \ | ||
--max_epoch 50 \ | ||
--wp_epoch 5 \ | ||
|
||
# --------------- Finetune on ImageNet --------------- | ||
# python mae_finetune.py \ | ||
# --dataset imagenet_1k \ | ||
# -m vit_nano \ | ||
# --batch_size 256 \ | ||
# --img_size 224 \ | ||
# --patch_size 16 \ | ||
# --max_epoch 50 \ | ||
# --wp_epoch 5 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# --------------- Pretrain on CIFAR --------------- | ||
python mae_pretrain.py \ | ||
--dataset cifar10 \ | ||
-m mae_vit_nano \ | ||
--batch_size 256 \ | ||
--img_size 32 \ | ||
--patch_size 2 \ | ||
--max_epoch 400 \ | ||
--wp_epoch 40 | ||
|
||
|
||
# --------------- Pretrain on ImageNet --------------- | ||
# python mae_pretrain.py \ | ||
# --dataset imagenet_1k \ | ||
# -m mae_vit_nano \ | ||
# --batch_size 256 \ | ||
# --img_size 224 \ | ||
# --patch_size 16 \ | ||
# --max_epoch 400 \ | ||
# --wp_epoch 40 |