起风了

“路海长 青夜旷 越过群山追斜阳”

解决服务器运行Flask与keras多线程扰动的问题

现象: 服务器上 运行flask接口; keras后端是tensorflow; 会出现线程扰动。 经常出现 FailedPreconditionError: Attempting to use uninitialized value batchnormalization_ 或者Tensor Tensor("crf_1/cond/Merge:0", shape=(?, ?, 260), dtype=float32) is not an element of this graph. 使用keras.bac...