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
When I using the function "tf.saved_model.save()" to save the model of MLP with TensorLayer2.2, I meet an ValueError .Does anyone know how to solve it or can I replace the function "tf.saved_model.save()" with another one ?
New Issue Checklist
Issue Description
When I using the function "tf.saved_model.save()" to save the model of MLP with TensorLayer2.2, I meet an ValueError .Does anyone know how to solve it or can I replace the function "tf.saved_model.save()" with another one ?
the model of MLP is from here
Reproducible Code
[INSERT CODE HERE]
[Error]
ValueError: Expected a Trackable object for export, got mlp(
(_inputlayer_1): Input(shape=[None, 784], name='_inputlayer_1')
(dropout_1): Dropout(keep=0.8, name='dropout_1')
(dense_1): Dense(n_units=800, relu, in_channels='784', name='dense_1')
(dropout_2): Dropout(keep=0.8, name='dropout_2')
(dense_2): Dense(n_units=800, relu, in_channels='800', name='dense_2')
(dropout_3): Dropout(keep=0.8, name='dropout_3')
(dense_3): Dense(n_units=10, relu, in_channels='800', name='dense_3')
).
The text was updated successfully, but these errors were encountered: