-
Notifications
You must be signed in to change notification settings - Fork 523
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
time-consuming of the FID computation #67
Comments
BTW, I want to know if fake data numbers and real data numbers are not equal, will it affect the calculation of FID? |
It is hard to debug this from afar because it can depend on many different factors. In general, I don't see an intrinsic reason why it should get stuck at some points (computation should be equally fast over time). You can install tqdm to get a better overview how the computation progresses. You could also try to profile the code using cProfile. I don't understand your second question, can you clarify? |
Sorry for reply late. |
I am running these codes in the SLURM cluster. |
@LonglongaaaGo Hi, I faced the similar problem and I found that the program got stuck in scipy.linalg.sqrtm. Reinstalling Scipy with newest version works for me. |
I update it to 1.7.1, it's still very slow ... |
I also met the same problem ... |
oh then I solved it by changing a virtual environment ... |
I wonder the right version of scipy |
spicy 1.5.4 worked for me. |
also worked for me. Thanks! |
If anyone else already still has the problem after installing the newest scipy version: |
I met the same issue. I have a server with 4 gpus, and I ran 4 programs on each gpu on parallel. Each program will compute FID. I found that all cpus will be occupied when running multi process with FID computing in the same time, but one process ran well. I think there might be some threads conflicts between torch, scipy.linalg.sqrtm (in FID) and multi-process/threads. Setting "export MKL_NUM_THREADS=1" didn't help. But I found that setting "export OPENBLAS_NUM_THREADS=1" or "export OMP_NUM_THREADS=1" does help for me. So anyone who has the same issue can give a try. Related Issue: numpy/numpy#8120 (comment) |
time-consuming of the FID computation
Hi, I want to know why the FID computation is very slow. When I calculate the FID of 28000 images, it sometimes got stuck and spent almost one day or more to calculate once! Is there any idea to help me fix this problem? Thanks!
The text was updated successfully, but these errors were encountered: