Ask questionsGraph importGraphDef doesn't match documentation
The code here, however, requires a GraphDef.
What's the best way to overcome this? Or am I not understanding what a GraphDef is?
Answer questions karllessard
We don't support (yet) loading hdf5 models directly to TF Java. I've already used this script in the past to convert the
.h5 model to
.pb and it worked pretty well.
Also, you can forget my previous comment about the
GraphDef format being legacy, it looks like this format is still being used when exporting a saved model.
Related questionsNo questions were found.