Open annanurov opened 4 years ago
I'm using tf.keras (with TF2), instead of keras standalone library since TF2 integrates better. So I had to make a few fixes:
import keras.foo
becomesimport tf.keras.foo
and
Model(input = my_input, output = my_output)
becomesModel(inputs = my_input, outputs = my_output)
Otherwise, it's a great implementation. Many thanks 非常谢!
我也发现了这个问题,在model.py脚本56行处,需要更正为 model = Model(inputs = inputs, outputs = conv10) 这样才运行正确。
感谢
I'm using tf.keras (with TF2), instead of keras standalone library since TF2 integrates better. So I had to make a few fixes:
import keras.foo
becomesimport tf.keras.foo
and
Model(input = my_input, output = my_output)
becomesModel(inputs = my_input, outputs = my_output)
Otherwise, it's a great implementation. Many thanks 非常谢!