keras-vis icon indicating copy to clipboard operation
keras-vis copied to clipboard

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

Open jageshmaharjan opened this issue 7 years ago • 4 comments

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

jageshmaharjan avatar Mar 14 '18 11:03 jageshmaharjan

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

milesgray avatar Apr 01 '18 12:04 milesgray

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

from viz.input_modifiers import Jitter

mmagnuski avatar May 16 '18 17:05 mmagnuski

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

Bigwode avatar Jun 14 '18 01:06 Bigwode

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

hasibzunair avatar Aug 03 '18 06:08 hasibzunair