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

add init_latest argument #375

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

hsulab
Copy link

@hsulab hsulab commented Apr 12, 2024

Hi MACE team,

I have added an argument init_latest. It is similar to restart_latest but it only loads the model state_dict from the checkpoint. Thus, the training can start with a previous model but use a fresh new optimizer and lr_scheduler. In practice, it will also be useful in active learning as the later iterations can use previous models.

Moreover, it will be much better to make restart_latest accept a checkpoint path instead of using the checkpoint in the training directory. However, this implementation will make a big change thus it may be implemented in the future if possible.

All the best,
Jiayan

@ilyes319 ilyes319 changed the base branch from main to develop August 6, 2024 11:35
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

Successfully merging this pull request may close these issues.

1 participant