-
Notifications
You must be signed in to change notification settings - Fork 173
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
Error in computing fid during training. ValueError: Cannot iterate over a shape with unknown rank. #10
Comments
Epoch: [ 0] [ 0/ 305] time: 14.0901, d_loss: 1.75800323, g_loss: 0.26850128 |
Hi, which Tensorflow version do you use? |
My tensorflow version is 1.4.0 |
mhex??? |
Hi! |
I have tried tensorflow version 1.6 but same error occur
…On Friday, August 10, 2018, HRamses ***@***.***> wrote:
Hi!
Could you try to change to a more recent version of tf? we had to adapt
the code for newer tf versions - so hopefully this will fix the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AleDwVA2k80HxTPkG2NOqzKJgenvJQ62ks5uPXRCgaJpZM4V3lcS>
.
|
When i compute fid seperatly. Then it works fine. But when i try to compute
fid during training of dcgan then this error occur. please help me.
…On Friday, August 10, 2018, AYESHA RAFIQUE ***@***.***> wrote:
I have tried tensorflow version 1.6 but same error occur
On Friday, August 10, 2018, HRamses ***@***.***> wrote:
> Hi!
> Could you try to change to a more recent version of tf? we had to adapt
> the code for newer tf versions - so hopefully this will fix the problem.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#10 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AleDwVA2k80HxTPkG2NOqzKJgenvJQ62ks5uPXRCgaJpZM4V3lcS>
> .
>
|
I tested it with version 1.8.0. But I tested it only on an separate data set and not while training. I will try to reproduce the error. |
I have also tried tensorflow version 1.8.0. but same error occur.
…On Mon, Aug 13, 2018 at 1:44 PM, HRamses ***@***.***> wrote:
I testet it with version 1.8.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AleDwa-P9Cy1f401M-UeegV2EynJwZ0nks5uQTyHgaJpZM4V3lcS>
.
|
It looks like the code is not compatible anymore with the recent Python, Numpy? and Tensorflow versions. We need some time to sort this out. |
If you need a more short-term solution, please note that you can use the FID implementation from tensorflow contrib: https://www.tensorflow.org/api_docs/python/tf/contrib/gan/eval/frechet_classifier_distance |
I also got this error using TF version 1.10 and python version 3.6. I haven't tested this, but a fix that stops things from crashing and seems to give correct numbers is to replace line 54:
with:
|
No description provided.
The text was updated successfully, but these errors were encountered: