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

imsave is depreciated in scipy #5

Closed
foundway opened this issue Aug 19, 2020 · 1 comment
Closed

imsave is depreciated in scipy #5

foundway opened this issue Aug 19, 2020 · 1 comment

Comments

@foundway
Copy link

Hi,
I am trying to follow the steps using fast-style-transfer to train. But when I run
python3 train_fst.py --style chinese_landscape.jp
I got this error:
Traceback (most recent call last): File "train_fst.py", line 6, in <module> from scipy.misc import imsave ImportError: cannot import name 'imsave' from 'scipy.misc' (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/scipy/misc/__init__.py)
I am using the latest TensorFlow 2.3.0 and recommended scipy 1.4.1. Sounds like imsave is depreciated in newer version of scipy. Do you know how I can workaround this issue?

@maajor
Copy link
Owner

maajor commented Nov 29, 2020

Hi, I have upgraded the training code to support TF2.0,
see 2264c8d

Best Regards,
MYD

@maajor maajor closed this as completed Nov 29, 2020
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

2 participants