aboutsummaryrefslogtreecommitdiff
path: root/simclr/config.example.yaml
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2022-08-12 11:41:34 +0800
committerJordan Gong <jordan.gong@protonmail.com>2022-08-12 11:41:34 +0800
commit693ebba3bd2967ba1528670eb68b6ee0a16f1b79 (patch)
tree3d0ae08096d843e695e13608989e26d77a7eecef /simclr/config.example.yaml
parent2acdd15d0b7c685926e23957ff0c07dacd12cf5b (diff)
Add SimCLR config
Diffstat (limited to 'simclr/config.example.yaml')
-rw-r--r--simclr/config.example.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/simclr/config.example.yaml b/simclr/config.example.yaml
new file mode 100644
index 0000000..20bed04
--- /dev/null
+++ b/simclr/config.example.yaml
@@ -0,0 +1,37 @@
+codename: cifar10-simclr-128-lars-warmup-example
+seed: -1
+num_iters: 19531
+log_dir: logs
+checkpoint_dir: checkpoints
+
+hid_dim: 2048
+out_dim: 128
+temp: 0.5
+
+dataset: cifar10
+dataset_dir: dataset
+crop_size: 32
+crop_scale_range:
+ - 0.8
+ - 1
+hflip_prob: 0.5
+distort_strength: 0.5
+#gauss_ker_scale: 10
+#gauss_sigma_range:
+# - 0.1
+# - 2
+#gauss_prob: 0.5
+
+batch_size: 128
+num_workers: 2
+
+optim: lars
+lr: 1
+momentum: 0.9
+#betas:
+# - 0.9
+# - 0.999
+weight_decay: 1.0e-06
+
+sched: warmup-anneal
+warmup_iters: 1953 \ No newline at end of file