Skip to content

Commit

Permalink
Rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah DeFazio committed Sep 19, 2023
1 parent 6aa4e73 commit a733f91
Show file tree
Hide file tree
Showing 23 changed files with 6 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"test": [f"all_activities_{x}" for x in [20, 33, 39, 50, 51, 52, 53, 54]],
} # Coffee specific

feat_version = 2
feat_version = 4

#####################
# Output
#####################
exp_name = f"coffee_conf_10_all_hands_feat_v{str(feat_version)}_fixed"
exp_name = f"coffee_conf_10_all_hands_feat_v{str(feat_version)}"
output_data_dir = f"{data_dir}/TCN_data/{exp_name}"
if not os.path.exists(output_data_dir):
os.makedirs(output_data_dir)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions src/models/ptg_module.py → tcn_hpl/models/ptg_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ def on_validation_epoch_end(self) -> None:

self.logger.experiment.track(Image(fig), name=f'CM Validation Epoch')

plt.close(fig)

self.validation_step_outputs_target.clear()
self.validation_step_outputs_pred.clear()

Expand Down Expand Up @@ -296,6 +298,8 @@ def on_test_epoch_end(self) -> None:

self.logger.experiment.track(Image(fig), name=f'CM Test Epoch')

plt.close(fig)

self.validation_step_outputs_target.clear()
self.validation_step_outputs_pred.clear()

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a733f91

Please sign in to comment.