训练数据集,OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key Generator.Input/Generator.In

OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key Generator.Input/Generator.Input.W not found in checkpoint

在训练数据集时,在代码中加了with tf.name_scope(‘xxx’) as scope,导致的错误。
参考之处
测试了,不加with tf.name_scope(‘xxx’) as scope即可

猜你喜欢

转载自blog.csdn.net/weixin_39379635/article/details/119907056
今日推荐