Skip to content

Commit

Permalink
Add presentation/ to .gitignore and replace standard_resolution with …
Browse files Browse the repository at this point in the history
…in configuration files

- Added presentation/ directory to .gitignore to exclude presentation files from version control
- Updated dirpath in hnet_checkpoint.yaml to use  instead of standard_resolution
- Modified name fields in tensorboard.yaml and test_tensorboard.yaml to incorporate  instead of standard_resolution
  • Loading branch information
MaloOLIVIER committed Dec 11, 2024
1 parent 257ba21 commit 4cdf4f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ htmlcov/
tb_logs/

# Checkpoints
checkpoints/
checkpoints/

presentation/
2 changes: 1 addition & 1 deletion configs/callbacks/hnet_checkpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ checkpoint:
_target_: lightning.pytorch.callbacks.ModelCheckpoint
save_last: True # additionally, always save model from last epoch
verbose: False
dirpath: "${hydra:runtime.cwd}/checkpoints/${now:%Y%m%d}/trained_on_${sample_range_trained_on}/standard_resolution/"
dirpath: "${hydra:runtime.cwd}/checkpoints/${now:%Y%m%d}/trained_on_${sample_range_trained_on}/${resolution_used}/"
filename: "hnet_model_DOA${max_len}_{epoch:01d}_${now:%H%M%S}"
monitor: "validation_loss"
save_top_k: 1
Expand Down
2 changes: 1 addition & 1 deletion configs/logging/tensorboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ log_every_n_steps: 100
logger:
_target_: lightning.pytorch.loggers.tensorboard.TensorBoardLogger
save_dir: "${hydra:runtime.cwd}/tb_logs/${now:%y%m%d}/"
name: 'trained_on_${sample_range_trained_on}/standard_resolution'
name: 'trained_on_${sample_range_trained_on}/${resolution_used}'
version: "hnet_model_DOA${max_len}_${now:%H%M%S}"
log_graph: False
default_hp_metric: False
2 changes: 1 addition & 1 deletion configs/logging/test_tensorboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ log_every_n_steps: 100
logger:
_target_: lightning.pytorch.loggers.tensorboard.TensorBoardLogger
save_dir: "${hydra:runtime.cwd}/tb_logs/${now:%y%m%d}/"
name: 'hnet_model/tested_on_${sample_range_tested_on}/trained_on_${sample_range_trained_on}/standard_resolution'
name: 'hnet_model/tested_on_${sample_range_tested_on}/trained_on_${sample_range_trained_on}/${resolution_used}'
version: "hnet_model_DOA${max_len}"
log_graph: False
default_hp_metric: False

0 comments on commit 4cdf4f4

Please sign in to comment.