Open jessebett opened 5 years ago
Found a similar issue on Python, not sure what is going on, but there is a workaround there:
I tried using the unoptimized graph and ran into the same error but with ClipByValue not registered.
This leads me to believe I am not using an up-to-date version of TensorFlowSharp.
However, I can find no installation instructions here for how to install TensorFlowSharp without also installing ML-agents on OSX. (I am trying to work in Unity, but I only need to read from a frozen graph so I don't need anything from ML-Agents)
Trying to do this without ML-agents I am missing libtensorflow.dll and I do not see where this is supposed to come from for OSX.
Thanks for any guidance you might have for me.
I believe I sorted out my libtensorflow.dll issue. The documentation here could be much clearer, because the only ones I was able to find were for integration with ML-Agent.
That being said, I tried doing what that issue suggested and worked with an unoptimized graph. Additionally, I've now upgraded to a more recent version of TensorflowSharp.
However, trying to import the graph they reference in that issue I get:
TFException: Invalid GraphDef
TensorFlow.TFStatus.CheckMaybeRaise (TensorFlow.TFStatus incomingStatus, System.Boolean last) (at <199612030c0c42b5aa8f0c625e1ad4d5>:0)
TensorFlow.TFGraph.Import (TensorFlow.TFBuffer graphDef, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) (at <199612030c0c42b5aa8f0c625e1ad4d5>:0)
TensorFlow.TFGraph.Import (System.Byte[] buffer, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) (at <199612030c0c42b5aa8f0c625e1ad4d5>:0)
TensorFlow.TFGraph.Import (System.Byte[] buffer, System.String prefix, TensorFlow.TFStatus status) (at <199612030c0c42b5aa8f0c625e1ad4d5>:0)
Any ideas?
I opened a new issue for this at #374
I am trying to import the graph from OpenAI's Glow Demo but loading the frozen graph into TensorFlowSharp gives the error:
TFException: Op type not registered 'EdgeBias' in binary running on ___. Make sure the Op and Kernel are registered in the binary running in this process.
Is this operation not supported or am I doing something wrong?