Skip to content

Setting default value of log_dir for saving checkpoints every epoch #23

@heqin-zhu

Description

@heqin-zhu

When training, the default value of the argument of log_dir is None, resulting no checkpoint saved every epoch, which is inconvenient for users. I'd like to recommend to set the default value of log_dir, such as mxfold_log, and create it (os.makedirs("mxfold_log", exist_ok=True)).

The origin code for saving checkpoints every epoch is as follows:

if args.log_dir is not None:
    self.save_checkpoint(args.log_dir, epoch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions