Skip to content

Commit

Permalink
Cleanup training logic a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
asistradition committed Jul 11, 2024
1 parent c64ac42 commit b4c392e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions supirfactor_dynamical/models/biophysical_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,7 @@ def _training_step(
train_x,
optimizer[2] if self._decay_optimize(epoch_num) else
optimizer[0],
loss_function,
input_x=self._slice_data_and_forward(train_x)
loss_function
)

return loss, decay_loss
Expand Down

0 comments on commit b4c392e

Please sign in to comment.