Skip to content

Commit

Permalink
Update n3fit/src/n3fit/backends/keras_backend/MetaModel.py
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jul 17, 2024
1 parent 3bf822f commit 1637dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion n3fit/src/n3fit/backends/keras_backend/MetaModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def perform_fit(self, x=None, y=None, epochs=1, **kwargs):
def _determine_steps_per_epoch(self, epochs):
"""Determine how many step to run in every epoch.
When running a single replica (CPU) or when the number of epochs is < 100 default to 1.
Otherwise run 100 step per epoch.
Otherwise run 100 steps per epoch.
If the number of epochs requested is not divisible by 100 there will be a number
of extra training epochs being run equal to max_epochs % 100 in the worst case.
Expand Down

0 comments on commit 1637dba

Please sign in to comment.