update progress

This commit is contained in:
hobogalaxy committed 2020-12-12 14:27:08 +01:00
1 parent 392552a5aa
commit f46f380261
9 files changed
+291 -320

No files matched your search

+19 -21
View File
@@ -4,42 +4,40 @@ num_of_gpus: 0
# Weights&Biases configuration (just remove this section if you don't want tu use Weights&Biases)
loggers:
wandb:
Weights&Biases_config:
project: "project_template_test"
entity: "kino"
log_model: True
offline: False
entity: "kino" # change to your username or name of your team on wandb
log_model: True # set True to automatically upload model checkpoint to wandb cloud after training
offline: False # set True to store all logs only locally
# default callbacks initialised on every run/experiment
# you can just remove this section or certain callback if you don't want tu use it
# you can add here any callback class available in pytorch lightning or template_utils/callbacks.py
# you can add here any callback class available in PyTorch Lightning or template_utils/callbacks.py
# if you specify the same callback class also in run config then it will overwrite the one set here
# all of the callback parameters will be passed to it on initialization
default_callbacks:
checkpoint:
callback_class: "ModelCheckpoint"
args:
monitor: "val_acc"
save_top_k: 1
save_last: True
mode: "max"
early_stop:
callback_class: "EarlyStopping"
args:
monitor: "val_acc"
patience: 100
mode: "max"
EarlyStopping: # name of PyTorch Lightning class for early stopping callback
monitor: "val_acc",
patience: 5,
mode: "max",
ModelCheckpoint: # name of PyTorch Lightning class for checkpointing callback
monitor: "val_acc",
save_top_k: 1,
save_last: True,
mode: "max",
# configure things which are printed in terminal
printing:
progress_bar_refresh_rate: 10 # refresh every 10 batches
weights_summary: "top" # model summary (alternatively "full")
weights_summary: "top" # print model summary (alternatively "full")
profiler: False # set True to print execution time profiling after training ends
# path to data folder (either absolute or relative to placement of 'train.py' file)
data_path: "data/"
data_dir: "data/"
# path to logs folder (either absolute or relative to placement of 'train.py' file)
logs_path: "logs/"
logs_dir: "logs/"