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

Couldn't able to save and load the model after finetuning #10

Open
Maria-philna opened this issue Feb 15, 2021 · 1 comment
Open

Couldn't able to save and load the model after finetuning #10

Maria-philna opened this issue Feb 15, 2021 · 1 comment

Comments

@Maria-philna
Copy link

Maria-philna commented Feb 15, 2021

In bigbird summarization, I have loaded pretrained model , after that I have performed finetuning on gigaword tensorflow dataset , then I tried to save the model using tf.saved_model.save(model, data_dir=export_dir) and loaded the model using loaded_model = tf.keras.models.load_model("/drive/My Drive/Checkpoint_Summarization/original_saved") and it is throwing
ValueError: Found zero restored functions for caller function.

@Anhar2
Copy link

Anhar2 commented Apr 16, 2021

Hi, I'm trying to fine-tune it as well, and I encountered your issue by chance, could you solve it though?

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