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

How to save the checkpoint for self-defined model? #265

Open
ziweiyang opened this issue Apr 22, 2023 · 0 comments
Open

How to save the checkpoint for self-defined model? #265

ziweiyang opened this issue Apr 22, 2023 · 0 comments

Comments

@ziweiyang
Copy link

Hi,
I am interested about saving the checkpoint of my self-defined model by subclassing snt.Module, but I couldn't find solid resource online. Can I use default method in tensorflow 2 for keras model like tf.keras.callbacks.ModelCheckpoint()? Does this work for sonnet 2 model?

Thanks,
ZY

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