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've got similar error:
AttributeError: 'Model' object has no attribute '_network_nodes'
which was due to Keras version conflict, choosing version 2.3 resolved the issue.
https://github.com/dmlc/tvm/blob/941f684614bb643258986fff256f1310587471b3/nnvm/python/nnvm/frontend/keras.py#L526
Google cached solution: https://webcache.googleusercontent.com/search?q=cache:E4rBauh661UJ:https://discuss.tvm.ai/t/compile-keras-model-issue-report-and-solution-included/256+&cd=1&hl=en&ct=clnk&gl=us
outsym = symtab.get_var(model._output_layers[0].name + ':0')
must be
outsym = symtab.get_var(model.layers[-1].name + ':0')
The text was updated successfully, but these errors were encountered: