-
Notifications
You must be signed in to change notification settings - Fork 0
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
doxawang
committed
Jan 6, 2022
1 parent
379c151
commit b8b1265
Showing
11 changed files
with
390 additions
and
79 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
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
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,31 @@ | ||
python3 ../../../main_pretrain.py \ | ||
--dataset $1 \ | ||
--backbone resnet18 \ | ||
--data_dir ./datasets \ | ||
--max_epochs 1000 \ | ||
--gpus 0 \ | ||
--accelerator gpu \ | ||
--precision 16 \ | ||
--optimizer sgd \ | ||
--scheduler warmup_cosine \ | ||
--lr 0.1 \ | ||
--classifier_lr 0.1 \ | ||
--weight_decay 1e-5 \ | ||
--batch_size 256 \ | ||
--num_workers 4 \ | ||
--crop_size 32 \ | ||
--brightness 0.0 \ | ||
--contrast 0.0 \ | ||
--saturation 0.0 \ | ||
--hue 0.0 \ | ||
--gaussian_prob 0.0 0.0 \ | ||
--crop_size 32 \ | ||
--num_crops_per_aug 1 1 \ | ||
--zero_init_residual \ | ||
--name sup-$1 \ | ||
--project solo-learn \ | ||
--entity doxawang \ | ||
--save_checkpoint \ | ||
--method sup \ | ||
$2 \ | ||
--wandb |
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
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
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
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
Oops, something went wrong.