Skip to content

Commit

Permalink
Fix error on target key
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Jan 24, 2024
1 parent 468b0b3 commit 0d8d349
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 @@ -256,7 +256,7 @@ def __init__(

self._optimizer = optimizer
self._target_key_name = target_key
self._target_key = BatchKey[f"{self._target_key}"]
self._target_key = BatchKey[f"{target_key}"]

# Model must have lr to allow tuning
# This setting is only used when lr is tuned with callback
Expand Down

0 comments on commit 0d8d349

Please sign in to comment.