Skip to content

[BUG] TrainEndCheckpoint not working with LoadInitState #528

Closed
@YannDubs

Description

@YannDubs

I'm trying to use TrainEndCheckpoint with LoadInitState but it's not working. It doesn't even return any error as you are using with suppress(Exception). The suppressed error is *** AttributeError: 'TrainEndCheckpoint' object has no attribute 'f_history_', yet the file exists and self.checkpoint.checkpoint_.f_history_==.../train_end_history.json'.

I think the issue is that TrainEndCheckpoint stopped inheriting from Checkpoint in #463. I.e. it doesn't have a f_history_ attribute anymore. This could be simply resolved by redirecting self.f_history_ to self.checkpoint_.f_history_.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions