Skip to content

Change Train_Manager.SaveModelHistory(tf.keras.callbacks.Callback) steps_per_epoch term #3

Open
@johnypark

Description

@johnypark

For learning rate schedulers, there is a code that requires steps_per_epoch entry. The current code looks like this:

extra_logs[hyperparam] = float(value((epoch+1) * self.config_info["steps_per_epoch"])) ## here replace with self.params.get('steps')

Replace this part with a call that enables to get the steps_per_epoch term. See if self.params.get("steps") works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions