facenet icon indicating copy to clipboard operation
facenet copied to clipboard

用自己的数据和预训练模型重新训练train_softmax.py出错

Open Galaxy-yyyyy opened this issue 5 years ago • 4 comments

TypeError: Cannot create initializer for non-floating point type.

Galaxy-yyyyy avatar Apr 23 '19 08:04 Galaxy-yyyyy

need more info ..when are you getting this error..please post the whole error or screenshot

thelastfunction avatar Apr 25 '19 07:04 thelastfunction

hello, have u resolved this problem? i am facing the same issue

StonePanda avatar Mar 20 '20 06:03 StonePanda

你现在解决这个问题了嘛?我也遇到了同样的问题 @yuanlisha

StonePanda avatar Mar 20 '20 06:03 StonePanda

you can use image = tf.to_float(image) to solve this problem.

qqqsd avatar Jul 26 '21 08:07 qqqsd