Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

The Conv2D op currently only supports the NHWC tensor format on the CPU. The op was given the format: NCHW #3

Open
jswtyc opened this issue Jul 11, 2022 · 3 comments

Comments

@jswtyc
Copy link

jswtyc commented Jul 11, 2022

您好
我在克隆你的代码时,发现如上报错无法运行。(一番定位后应该是PolicyNN.py文件中的 act_probs, value = self.model.predict_on_batch(currentBoard) 这句话报错,但是无奈本人水平有限,网上资料甚少,无法解决。)
个人怀疑是环境问题,多次重装readme文件中提及的tensorflow-gpu均无果。故请问是否方便透露下此代码的具体环境,以便克隆复现。

@KarsonYu
Copy link

我也是,请问你解决了吗

@jswtyc
Copy link
Author

jswtyc commented May 23, 2023

解决了,具体怎么回事忘了,反正是环境的原因。作者代码写的还是不错的。

@elysia-best
Copy link

我也是,请问你解决了吗

数据格式的问题,切换到正确安装tensorflow cuda的环境下就可以正常处理了

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

No branches or pull requests

3 participants