You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.saver.restore(self.sess, checkpoint.model_checkpoint_path)加载模型这一直报错
ValueError: Can only save/restore ResourceVariables when executing eagerly, got type: <class 'tensorflow.python.framework.ops.Tensor'>.
是tensorflow2不兼容的原因吗
self.saver.restore(self.sess, checkpoint.model_checkpoint_path)加载模型这一直报错
ValueError: Can only save/restore ResourceVariables when executing eagerly, got type: <class 'tensorflow.python.framework.ops.Tensor'>.
是tensorflow2不兼容的原因吗