Skip to content

scipy imread has been deprecated since v1.0.0. #29

@jlnrdeep

Description

@jlnrdeep

It might be worth considering to mantain/update the code for removed dependecies

I've got this error trying to use stylize.py on windows.

Restoring vars for relu5_1 from checkpoint models/relu5_1\model.ckpt-15004
W0702 06:19:34.308990 4512 deprecation.py:323] From C:\Program Files\Python37\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
Traceback (most recent call last):
File "stylize.py", line 126, in
main()
File "stylize.py", line 74, in main
content_img = get_img(content_fullpath)
File "C:\Users\JLNR\Documents\WCT-TF-master\utils.py", line 24, in get_img
img = scipy.misc.imread(src, mode='RGB')
AttributeError: module 'scipy.misc' has no attribute 'imread'

I'm going to try using an earlier version of scipy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions