question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

load_sample_images uses deprecated imread

See original GitHub issue

DeprecationWarning: imread is deprecated! imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jnothmancommented, Nov 15, 2017

So currently users of our imread need to have PIL or Pillow installed. We should keep that assumption, for now. Which basically means we need to copy the implementation of scipy.misc.imread. We could extend this to allowing imageio to be installed instead in the future.

1reaction
amuellercommented, Nov 15, 2017

Hm… I guess we use pillow directly? @GaelVaroquaux @jnothman opinions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

scipy.misc module has no attribute imread? - Stack Overflow
imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imread instead.
Read more >
scipy.misc.imread — SciPy v1.1.0 Reference Guide
imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imread instead. Read an image from a file ...
Read more >
Imageio.imread() Replaces Scipy.misc.imread()
However, recently, users were notified that this function is deprecated: We're encouraged to use the imageio.imread() function instead.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found