Skip to content

Commit

Permalink
Prepare for hpc test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwitte committed Jul 29, 2024
1 parent d8dcb2e commit 35b581a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
__pycache__/

# Ignore Python virtual environments
myenv
venv

# Ignore data files
data/*/*
logs/*/*
/dvclive
/models
/temp
/exp-logs/*
/tmp
/exp_logs/*

# Not ignore
!logs/*/.gitkeep
Expand Down
3 changes: 0 additions & 3 deletions TODO.md

This file was deleted.

2 changes: 1 addition & 1 deletion dvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ stages:
save_logs:
cmd: python3 source/utils/logs.py
outs:
- exp_logs/slurm
# - exp_logs/slurm
- exp_logs/tensorboard/
2 changes: 1 addition & 1 deletion source/utils/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torch
from torch.utils.tensorboard import SummaryWriter
from torch.utils.tensorboard.summary import hparams
from utils.config import get_env_variable
from config import get_env_variable


# Overrides the Tensorboard SummaryWriter class to add hyperparameters to the same tensorboard logs and enable metrics as scalar sequences
Expand Down

0 comments on commit 35b581a

Please sign in to comment.