bioinf-jku / FCD

Fréchet ChemNet Distance: A quality measure for generative models for molecules
GNU Lesser General Public License v3.0
71 stars 26 forks source link

Remove scipy.misc.imread Dependency #8

Closed lilleswing closed 4 years ago

lilleswing commented 4 years ago

imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imread instead. https://stackoverflow.com/questions/15345790/scipy-misc-module-has-no-attribute-imread

This makes FCD broken for newer versions of scipy. The source for fcd does not actually require using imread so I removed the import.

I then rebuilt the .whl file with python setup.py sdist bdist_wheel.

renzph commented 4 years ago

Thanks. This was solved by #5 .