arbitrary_image_stylization: 'scipy.misc' has no attribute 'imread'
See original GitHub issueAttempting to run the first example command from here yields the following output:
Traceback (most recent call last):
File "~/anaconda3/envs/magenta/bin/arbitrary_image_stylization_with_weights", line 8, in <module>
sys.exit(console_entry_point())
File "~/anaconda3/envs/magenta/lib/python3.7/site-packages/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py", line 178, in console_entry_point
tf.app.run(main)
File "~/anaconda3/envs/magenta/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "~/anaconda3/envs/magenta/lib/python3.7/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "~/anaconda3/envs/magenta/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "~/anaconda3/envs/magenta/lib/python3.7/site-packages/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py", line 112, in main
content_img_np = image_utils.load_np_image_uint8(content_img_path)[:, :, :
File "~/anaconda3/envs/magenta/lib/python3.7/site-packages/magenta/models/image_stylization/image_utils.py", line 399, in load_np_image_uint8
image = scipy.misc.imread(f.name)
AttributeError: module 'scipy.misc' has no attribute 'imread'
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
scipy.misc module has no attribute imread? - Stack Overflow
I am trying to read an image with scipy. However it does not accept the scipy.misc.imread part. What could be the cause of...
Read more >PYTHON : scipy.misc module has no attribute imread?
PYTHON : scipy. misc module has no attribute imread ? [ Gift : Animated Search Engine : https://www.hows.tech/p/recommended.html ] PYTHON ...
Read more >scipy.misc module has no attribute imread? - SyntaxFix
I am trying to read an image with scipy. However it does not accept the scipy.misc.imread part. What could be the cause of...
Read more >Python – scipy.misc module has no attribute imread - iTecNote
Python – scipy.misc module has no attribute imread. dependenciesinstallationpythonpython-imaging-libraryscipy. I am trying to read an image with scipy.
Read more >Attributeerror While Running Scipy.Ndimages.Imread - ADocLib
Solution: AttributeError: module'scipy.misc' has no attribute'imread' error ... Import ndimage from scipy import ndimage # Call imread fname images/ +.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What happens if you do
after installing magenta?
Pillow is already installed, and the original AttributeError remains.