我正在尝试在树莓派上使用烧瓶使用Keras model。我正在关注this tutorial。
通过一些调整,我可以使其在Windows机器上工作。但是,当我尝试在树莓派4上运行它时,在尝试预测时出现以下错误:
tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable block3_conv3/bias from Container: localhost. This could mean that the variable was uninitialized. Not found: Container localhost does not exist. (Could not find resource: localhost/block3_conv3/bias)
我尝试使this solution正常工作,但是我无法弄清楚如何使其在Keras / flask网络服务器上正常工作。