Skip to content

Commit

Permalink
Merge pull request #254 from openclimatefix/wandb-patch
Browse files Browse the repository at this point in the history
Fix wandb artifact saving in base_model.py
  • Loading branch information
AUdaltsova authored Sep 23, 2024
2 parents 76651e9 + 4795a99 commit ad30b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def on_validation_epoch_end(self):

# make and log wand artifact
validation_artifact = wandb.Artifact(
f"validation_results_epoch={self.current_epoch}", type="dataset"
f"validation_results_epoch_{self.current_epoch}", type="dataset"
)
validation_artifact.add_file(filename)
wandb.log_artifact(validation_artifact)
Expand Down

0 comments on commit ad30b23

Please sign in to comment.