swook / GazeML

Gaze Estimation using Deep Learning, a Tensorflow-based framework.
MIT License
512 stars 141 forks source link

About read transferred pb model wrong? #71

Open l35633 opened 4 years ago

l35633 commented 4 years ago

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!

funkfuzz commented 3 years ago

check this issue, it helped me with a similar problem #29

Hyrtsi commented 2 years ago

@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: