You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with TFRS model from tensorflow, and i've tried to be able to save it in one file, but failed, the issue doesn't seem to be solved yet, so the only way i have to save the model is to save the weights and then recreate the model and load the saved weights
# Save the weightsmodel.save_weights('./checkpoints/my_checkpoint')
# Create a new model instancemodel=create_model()
# Restore the weightsmodel.load_weights('./checkpoints/my_checkpoint')
Is there a way to support saving the models in a two step manner like that? as i guess bentoml.tensorflow.save_model is calling the save method of the model object
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team
I'm working with TFRS model from tensorflow, and i've tried to be able to save it in one file, but failed, the issue doesn't seem to be solved yet, so the only way i have to save the model is to save the weights and then recreate the model and load the saved weights
Is there a way to support saving the models in a two step manner like that? as i guess bentoml.tensorflow.save_model is calling the save method of the model object
Beta Was this translation helpful? Give feedback.
All reactions