diff --git a/configs/config_optuna.yaml b/configs/config_optuna.yaml index c098afa..b406f8d 100644 --- a/configs/config_optuna.yaml +++ b/configs/config_optuna.yaml @@ -47,19 +47,10 @@ hydra: high: 0.2 model.lin1_size: type: categorical - choices: [64, 128, 256, 512] - model.dropout1: - type: categorical - choices: [0.05, 0.1, 0.25, 0.5] + choices: [32, 64, 128, 256, 512] model.lin2_size: type: categorical - choices: [64, 128, 256, 512] - model.dropout2: - type: categorical - choices: [0.05, 0.1, 0.25, 0.5] + choices: [32, 64, 128, 256, 512] model.lin3_size: type: categorical - choices: [32, 64, 128, 256] - model.dropout3: - type: categorical - choices: [0.05, 0.1, 0.25, 0.5] + choices: [32, 64, 128, 256, 512] diff --git a/configs/trainer/debug_trainer.yaml b/configs/trainer/debug_trainer.yaml index a675023..454cecd 100644 --- a/configs/trainer/debug_trainer.yaml +++ b/configs/trainer/debug_trainer.yaml @@ -30,6 +30,7 @@ limit_train_batches: 1.0 limit_val_batches: 1.0 limit_test_batches: 1.0 track_grad_norm: -1 +terminate_on_nan: False # others amp_backend: "native" diff --git a/configs/trainer/default_trainer.yaml b/configs/trainer/default_trainer.yaml index 9e6d65f..42e4c70 100644 --- a/configs/trainer/default_trainer.yaml +++ b/configs/trainer/default_trainer.yaml @@ -8,3 +8,5 @@ max_epochs: 10 weights_summary: null progress_bar_refresh_rate: 10 + +terminate_on_nan: False