Kayzaks / HackingNeuralNetworks

A small course on exploiting and defending neural networks
MIT License
2.55k stars 300 forks source link

Replace Scipy by Skimage #1

Closed Evilran closed 4 years ago

Evilran commented 4 years ago

This has an error happening when running this code: **imread** is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use **imageio.imread**

So I think it's better to use skimage.io instead of scipy.misc,

and I also modified the path of the file in the directory to the current directory.

ex. 0_LastLayerAttack/model.h5 -> ./model.h5, I prefer in this way, but I don't know if this will satisfy you.