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

Imaginary component with more than 2048 images #53

Open
bertinma opened this issue Oct 31, 2023 · 5 comments
Open

Imaginary component with more than 2048 images #53

bertinma opened this issue Oct 31, 2023 · 5 comments

Comments

@bertinma
Copy link

Hi,

I am facing the Imaginary component issue unless I have more than 2048 images in each folder.

I use this line of code to compute it.
fid_score = fid.compute_fid(source, target, mode="clean", verbose=True, dataset_split="custom", use_dataparallel=False)

The weird thing is that happens only on validation set, on a subset of training set it works well. Unless I perform exact same operations on both, as saving model predictions and targets using torchvision.

I am using clean-fid==0.1.35
CUDA 11.8
Python 3.10.13
numpy==1.26
torch==2.0.1
Debian 11

Thanks for tyour help in advance ;)

@vinesmsuic
Copy link

Hi, encountered same error here. Did you figure out how to solve this?

@vinesmsuic
Copy link

scipy has to be 1.11.1 instead of 1.11.2 . Just downgrade it with:

pip install scipy==1.11.1

@GaParmar
Copy link
Owner

Thanks for finding the cause of this issue!

@SantiagoDGarcia
Copy link

Thanks @vinesmsuic

@Luciennnnnnn
Copy link

It may because this PR.

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

5 participants