97 lines
2.6 KiB
YAML
97 lines
2.6 KiB
YAML
num_of_gpus: -1
|
|
|
|
model_configs:
|
|
|
|
simple_mnist_classifier_v1: # everything inside will be saved to to wandb and in model checkpoint
|
|
model_folder_name: "simple_mnist_classifier"
|
|
max_epochs: 3
|
|
lr: 0.001
|
|
batch_size: 64
|
|
weight_decay: 0.000001
|
|
gradient_clip_val: 0.5
|
|
accumulate_grad_batches: 1
|
|
input_size: 784 # img size is 28*28*1
|
|
output_size: 10
|
|
lin1_size: 256
|
|
lin2_size: 256
|
|
lin3_size: 128
|
|
dataset:
|
|
class_name: "MNISTDataModule"
|
|
train_transforms: "minst_train_preprocess"
|
|
test_transforms: "minst_test_preprocess"
|
|
train_val_split_ratio: 0.8
|
|
num_workers: 1
|
|
pin_memory: False
|
|
|
|
transfer_learning_cifar10_classifier_v1:
|
|
model_folder_name: "transfer_learning_img_classifier"
|
|
max_epochs: 3
|
|
lr: 0.001
|
|
batch_size: 128
|
|
weight_decay: 0.000001
|
|
gradient_clip_val: 0.5
|
|
accumulate_grad_batches: 1
|
|
output_size: 10
|
|
lin1_size: 512
|
|
lin2_size: 256
|
|
dataset:
|
|
class_name: "CIFAR10DataModule"
|
|
train_transforms: "cifar10_train_preprocess"
|
|
test_transforms: "cifar10_test_preprocess"
|
|
train_val_split_ratio: 0.9
|
|
num_workers: 1
|
|
pin_memory: False
|
|
|
|
transfer_learning_cifar10_classifier_v2:
|
|
model_folder_name: "transfer_learning_img_classifier"
|
|
max_epochs: 3
|
|
lr: 0.001
|
|
batch_size: 128
|
|
weight_decay: 0.000001
|
|
gradient_clip_val: 0.5
|
|
accumulate_grad_batches: 1
|
|
output_size: 10
|
|
lin1_size: 512
|
|
lin2_size: 256
|
|
dataset:
|
|
class_name: "CIFAR10DataModule"
|
|
train_transforms: "cifar10_train_preprocess"
|
|
test_transforms: "cifar10_test_preprocess"
|
|
train_val_split_ratio: 0.9
|
|
num_workers: 1
|
|
pin_memory: False
|
|
|
|
resume_training:
|
|
lightning_ckpt:
|
|
resume_from_ckpt: False
|
|
ckpt_path: "logs/checkpoints/epoch=2.ckpt"
|
|
wandb:
|
|
resume_wandb_run: False
|
|
wandb_run_id: "8uuomodb"
|
|
|
|
loggers:
|
|
wandb:
|
|
project: "hackathon_template_test"
|
|
team: "kino"
|
|
group: None
|
|
job_type: "train"
|
|
tags: []
|
|
log_model: True
|
|
offline: False
|
|
|
|
callbacks:
|
|
checkpoint:
|
|
monitor: "val_acc"
|
|
save_top_k: 1
|
|
save_last: True
|
|
mode: "max"
|
|
early_stop:
|
|
monitor: "val_acc"
|
|
patience: 100
|
|
mode: "max"
|
|
|
|
printing:
|
|
progress_bar_refresh_rate: 5
|
|
weights_summary: "top" # "full"
|
|
profiler: False
|