raghakot / keras-vis

Neural network visualization toolkit for keras
https://raghakot.github.io/keras-vis
MIT License
2.97k stars 664 forks source link

doesn't import "from vis.modifiers import Jitteren" #99

Open jageshmaharjan opened 6 years ago

jageshmaharjan commented 6 years ago

when i try to import from vis.modifiers import Jitteren

i got an import error: ModuleNotFoundError: No module named 'vis.modifiers'

i install it through source

milesgray commented 6 years ago

having same problem amongst others that I did not have a few months ago when I ran my scripts using this package. Recently, I cloned the repo and installed from there, hoping that it would fix the issues - have version 0.4.1. (edited to put a more relevant screen shot) Any help would be appreciated.

image

mmagnuski commented 6 years ago

it seems that Jitter is now in input_modifiers so this should work:

from viz.input_modifiers import Jitter
Bigwode commented 6 years ago

from vis.utils.vggnet import VGG16 ImportError: No module named 'vis.utils.vggnet'

hasibzunair commented 6 years ago

you can try importing vgg directly from keras: from keras.applications.vgg16 import VGG16