-
Notifications
You must be signed in to change notification settings - Fork 758
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
How to switch NHWC to NCHW #56
Comments
This is probably because you have the 'wrong' version of tensorflow for this project. For me this worked with tf 2.2.0. Whenever I went higher e.g. 2.4.0, I got the same error as you described. |
TF2.2.0 didn't solve the issue for me. However TF1.6.0 did. All necessary packages are indicated in the requirements.txt files. Just pip install it in a new environment and it should work. |
Fixed it very long time ago, sorry for not marking it
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Cyazd ***@***.***>
Sent: Tuesday, April 12, 2022 7:45:38 PM
To: AppliedDataSciencePartners/DeepReinforcementLearning ***@***.***>
Cc: jkjoos ***@***.***>; Comment ***@***.***>
Subject: Re: [AppliedDataSciencePartners/DeepReinforcementLearning] How to switch NHWC to NCHW (#56)
TF2.2.0 didn't solve the issue for me. However TF1.6.0 did. All necessary packages are indicated in the requirements.txt files. Just pip install it in a new environment and it should work.
—
Reply to this email directly, view it on GitHub<#56 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKOJMW4FXITZW2GCSLQET5DVEWZEFANCNFSM427Q6BAA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep getting this issue and have no progress at all, please help. I've already done a lot of searching on google, Tried reshape the 'x' in model.py predict().
The Conv2D op currently only supports the NHWC tensor format on the CPU. The op was given the format: NCHW
The text was updated successfully, but these errors were encountered: