micro batches
This commit is contained in:
@@ -10,7 +10,7 @@ meta:
|
|||||||
head_type: linear
|
head_type: linear
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 128
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -31,7 +31,7 @@ optimization:
|
|||||||
lr: 0.01
|
lr: 0.01
|
||||||
weight_decay: 5.0e-4
|
weight_decay: 5.0e-4
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 8
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ meta:
|
|||||||
use_gradient_checkpointing: true
|
use_gradient_checkpointing: true
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 256
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -33,7 +33,7 @@ optimization:
|
|||||||
lr: 0.001
|
lr: 0.001
|
||||||
weight_decay: 5.0e-4
|
weight_decay: 5.0e-4
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 16
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ meta:
|
|||||||
head_type: bn_linear
|
head_type: bn_linear
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 512
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -31,7 +31,7 @@ optimization:
|
|||||||
lr: 0.001
|
lr: 0.001
|
||||||
weight_decay: 5.0e-4
|
weight_decay: 5.0e-4
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 32
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ meta:
|
|||||||
head_type: linear
|
head_type: linear
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 1024
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -32,7 +32,7 @@ optimization:
|
|||||||
lr: 0.01
|
lr: 0.01
|
||||||
weight_decay: 0
|
weight_decay: 0
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 64
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ meta:
|
|||||||
head_type: bn_linear
|
head_type: bn_linear
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 512
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -32,7 +32,7 @@ optimization:
|
|||||||
lr: 0.001
|
lr: 0.001
|
||||||
weight_decay: 5.0e-4
|
weight_decay: 5.0e-4
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 32
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ meta:
|
|||||||
head_type: bn_linear
|
head_type: bn_linear
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 1024
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -31,7 +31,7 @@ optimization:
|
|||||||
lr: 0.01
|
lr: 0.01
|
||||||
weight_decay: 5.0e-4
|
weight_decay: 5.0e-4
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 64
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ meta:
|
|||||||
use_gradient_checkpointing: true
|
use_gradient_checkpointing: true
|
||||||
|
|
||||||
data:
|
data:
|
||||||
batch_size: 512
|
batch_size: 16
|
||||||
root_path: ./wilds_data
|
root_path: ./wilds_data
|
||||||
num_workers: 10
|
num_workers: 10
|
||||||
pin_mem: true
|
pin_mem: true
|
||||||
@@ -33,7 +33,7 @@ optimization:
|
|||||||
lr: 0.001
|
lr: 0.001
|
||||||
weight_decay: 0
|
weight_decay: 0
|
||||||
lr_schedule: cosine
|
lr_schedule: cosine
|
||||||
gradient_accumulation_steps: 1
|
gradient_accumulation_steps: 32
|
||||||
final_lr: 0.0
|
final_lr: 0.0
|
||||||
early_stopping:
|
early_stopping:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user