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

model #26

Open
TIAN-Ww opened this issue Oct 25, 2021 · 3 comments
Open

model #26

TIAN-Ww opened this issue Oct 25, 2021 · 3 comments

Comments

@TIAN-Ww
Copy link

TIAN-Ww commented Oct 25, 2021

Hi, In the code you provided, I did not find the code to save the trained model. Can you help me?
Best wishes

@TIAN-Ww
Copy link
Author

TIAN-Ww commented Oct 25, 2021

I encountered this error during training. Do I need to have a model before training? Looking forward to your reply!
Best wishes!
error

@JohnleeHIT
Copy link
Owner

I encountered this error during training. Do I need to have a model before training? Looking forward to your reply! Best wishes! error

Don't worry, actually, this is not a error. This is used when you have to train your model based on an older checkpoint, if you don't have any, you can still train from scratch, It is totally fine.

@JohnleeHIT
Copy link
Owner

Hi, In the code you provided, I did not find the code to save the trained model. Can you help me? Best wishes

def save_chkpoint(self, checkpoint_dir, model_name, step):

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

2 participants