最近在学习GAN网络,从
https://github.com/eriklindernoren/Keras-GAN#sgan
下了模型出来运行,就会对抗一次然后报错。自己根据模型改写代码,也出现相同问题。
错误代码是:BaseCollectiveExecutor::StartAbort Failed precondition: Error while reading resource variable _AnonymousVar41 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar41/class tensorflow::Var does not exist.
[[{{node mul_1/ReadVariableOp}}]]
不清楚该如何解决,百度谷歌了都没有有效的解决办法
用Kerasa运行GAN程序时只能对抗一次就报错
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-