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 am trying to export a model to a TensorFlow Lite or preferably CoreML. For both, it is required to first convert the model to a frozen_model (.pb format). To do this I have already managed to extract a .pbtxt file from the session graph, which is required for the tensorflow.python.tools.freeze_graph function. The issue I am currently facing is that I need to specify the output_node_names variable which I do not know. And after this step, I would also need to figure out the input node name and shape for the conversion to CoreML.
Could anyone perhaps tell me which nodes are the input and output nodes and what their shapes are, or how I could find these?
Assuming you only need to specify a list of user and item features I find it a bit strange that for example properties like alpha and an interaction iterator are input nodes. Aren’t these variables meant for training the model instead of making the predictions?
After trying to get this export to work for quite some time I’ve decided to move on to another solution, so this issue may be closed.
Hi there,
I am trying to export a model to a TensorFlow Lite or preferably CoreML. For both, it is required to first convert the model to a frozen_model (.pb format). To do this I have already managed to extract a .pbtxt file from the session graph, which is required for the
tensorflow.python.tools.freeze_graph
function. The issue I am currently facing is that I need to specify the output_node_names variable which I do not know. And after this step, I would also need to figure out the input node name and shape for the conversion to CoreML.Could anyone perhaps tell me which nodes are the input and output nodes and what their shapes are, or how I could find these?
Thanks in advance!
TFLite conversion documentation: https://www.tensorflow.org/lite/convert/
tf-coreml documentation: https://github.com/tf-coreml/tf-coreml
The text was updated successfully, but these errors were encountered: