BMSG-GAN icon indicating copy to clipboard operation
BMSG-GAN copied to clipboard

deprecated function call in generate_samples

Open powerspowers opened this issue 6 years ago • 1 comments

I am a bit lame with GitHub pull requests so here is a note that a call is deprecated:

generate_samples.py:126: DeprecationWarning: imsave is deprecated! imsave is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imwrite instead. ss_image.squeeze(0).permute(1, 2, 0).cpu())

powerspowers avatar Jul 03 '19 22:07 powerspowers

@powerspowers,

Sure, it's always better to remove the deprecated packages. I'll update the call soon. Thanks! :smile:

Cheers :beers:! @akanimax

akanimax avatar Jul 05 '19 12:07 akanimax