Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

加载模型时报错 #2

Open
Moe-Shiro opened this issue Jul 6, 2021 · 5 comments
Open

加载模型时报错 #2

Moe-Shiro opened this issue Jul 6, 2021 · 5 comments

Comments

@Moe-Shiro
Copy link

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不兼容的原因吗

@GuoYi0
Copy link
Owner

GuoYi0 commented Jul 8, 2021

可能是的。我这边全部是tf1写的

@Moe-Shiro
Copy link
Author

我现在用tf2全部调通了 但是ai的落子图形界面上会延迟(不显示),不知道是哪里的问题

@GuoYi0
Copy link
Owner

GuoYi0 commented Mar 7, 2022

图像界面只能在windows跑

@JohnNash-13
Copy link

我现在用tf2全部调通了 但是ai的落子图形界面上会延迟(不显示),不知道是哪里的问题

你好能问些问题吗

@Softssiter
Copy link

我现在用tf2全部调通了 但是ai的落子图形界面上会延迟(不显示),不知道是哪里的问题

请问一下怎么改成tf2能运行的,已经改了好久了,还是有问题

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants