报错信息:
tensorflow.python.framework.errors_impl.FailedPreconditionError: 2 root error(s) found.
(0) Failed precondition: Error while reading resource variable out/bias/replica_2 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/out/bias/replica_2/N10tensorflow3VarE does not exist.
[[{{node replica_2/out/BiasAdd/ReadVariableOp}}]]
(1) Failed precondition: Error while reading resource variable out/bias/replica_2 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/out/bias/replica_2/N10tensorflow3VarE does not exist.
[[{{node replica_2/out/BiasAdd/ReadVariableOp}}]]
[[GroupCrossDeviceControlEdges_0/Adam/Adam/update_2/Const/_12024]]
有时候报这个错:
tensorflow.python.framework.errors_impl.FailedPreconditionError: 2 root error(s) found.
(0) Failed precondition: Error while reading resource variable crf/trans from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/crf/trans/N10tensorflow3VarE does not exist.
[[{{node loss_1/crf_loss/ReadVariableOp_1}}]]
[[replica_2/loss/mul_1/_11943]]
(1) Failed precondition: Error while reading resource variable crf/trans from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/crf/trans/N10tensorflow3VarE does not exist.
[[{{node loss_1/crf_loss/ReadVariableOp_1}}]]
0 successful operations.
3 derived errors ignored.
麻烦苏神帮忙看看
文本分类的多GPU版例子运行正常,但是把task_sequence_labeling_ner_crf.py改造成单机多卡版的时候出错了,多了一个CRF层,尝试了很多都不行。 `
`
报错信息: tensorflow.python.framework.errors_impl.FailedPreconditionError: 2 root error(s) found. (0) Failed precondition: Error while reading resource variable out/bias/replica_2 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/out/bias/replica_2/N10tensorflow3VarE does not exist. [[{{node replica_2/out/BiasAdd/ReadVariableOp}}]] (1) Failed precondition: Error while reading resource variable out/bias/replica_2 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/out/bias/replica_2/N10tensorflow3VarE does not exist. [[{{node replica_2/out/BiasAdd/ReadVariableOp}}]] [[GroupCrossDeviceControlEdges_0/Adam/Adam/update_2/Const/_12024]] 有时候报这个错: tensorflow.python.framework.errors_impl.FailedPreconditionError: 2 root error(s) found. (0) Failed precondition: Error while reading resource variable crf/trans from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/crf/trans/N10tensorflow3VarE does not exist. [[{{node loss_1/crf_loss/ReadVariableOp_1}}]] [[replica_2/loss/mul_1/_11943]] (1) Failed precondition: Error while reading resource variable crf/trans from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/crf/trans/N10tensorflow3VarE does not exist. [[{{node loss_1/crf_loss/ReadVariableOp_1}}]] 0 successful operations. 3 derived errors ignored. 麻烦苏神帮忙看看