小编Bal*_*aji的帖子

如何在张量流会话中运行Keras.model()进行预测?

我目前在执行我的模型预测张量流会话中的角膜时遇到问题。

with tf.Session(graph=graph) as sess:
    sess.run(tf.global_variables_initializer())
    ## want to know how to add model.predict() inside this condition
    predictions = model.predict(#my_model)
    #predictions output is same not appending
Run Code Online (Sandbox Code Playgroud)

或任何其他方法都会有帮助。

任何帮助,将不胜感激。

python keras tensorflow

8
推荐指数
1
解决办法
8457
查看次数

标签 统计

keras ×1

python ×1

tensorflow ×1