Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
heqin-zhu opened this issue Dec 11, 2024 · 0 comments
Open

Comments

@heqin-zhu
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant