Skip to content

Make keras hook safer by logging error instead of crashing when train_fn, eval_fn are None #19

@rahul003

Description

@rahul003

add_callbacks can crash when execution function hasn't been built for whatever reason. Ziyi discovered that before step 0 there is no execution function when using generators, it was built only at step0. So we can only save from step1 in that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions