GazeML
GazeML copied to clipboard
About read transferred pb model wrong?
hi,I keep ckpt model and parameters to one pb file, then read the pb model file in a another code,but the wrong info below:
ValueError: Input 0 of node hourglass/pre/BatchNorm/cond_1/AssignMovingAvg was passed float from hourglass/pre/BatchNorm/cond_1/AssignMovingAvg/Switch:1 incompatible with expected float_ref.
any ways? Thank you so much!
check this issue, it helped me with a similar problem #29
@l35633 could you share the code you used to try to save the model and then read the model? Did funfuzzes suggestion help you?
I got the same error. Google tells that it's a common problem. See these links:
- https://github.com/onnx/tensorflow-onnx/issues/77
- https://github.com/tensorflow/tensorflow/issues/3628
- https://stackoverflow.com/questions/51858203/cant-import-frozen-graph-with-batchnorm-layer