GithubHelp home page GithubHelp logo

Comments (7)

raghakot avatar raghakot commented on July 26, 2024 1

I fixed various issues recently and also updated the pip package. Let me know if this is still an issue.

from keras-vis.

DylanCope avatar DylanCope commented on July 26, 2024

I'm assuming you used pip to install the package? The pip link hasn't been updated so you should clone the repository and directly use the code. Either add the location of the repository to your PYTHONPATH or copy and paste the source files into your project.

That fixed the problems you're having, but you will probably still run into a few problems with the code itself. I found several functions just don't work so you have to fix them.

from keras-vis.

vitasiku avatar vitasiku commented on July 26, 2024

Still an issue for

  • pip 9.0.1
  • python 3.6.1
  • MacOS Siera 10.12.6

from keras-vis.

mlizhardy avatar mlizhardy commented on July 26, 2024

double check the structure of your imports for example:
from vis.modifiers import Jitter

should be:
from vis.input_modifiers import Jitter

from keras-vis.

sulthanashafi avatar sulthanashafi commented on July 26, 2024

@MohmadAyman ,have you solved this problem.Iam incurring with the same problem.
File "ImageTraintwo.py", line 188, in
layer_idx = utils.find_layer_idx(model, layer_name)
NameError: name 'utils' is not defined

from keras-vis.

mayman99 avatar mayman99 commented on July 26, 2024

@sulthanashafi Sorry I don't really remember if I did get it to work back then or not.

from keras-vis.

aymenabid-lab avatar aymenabid-lab commented on July 26, 2024

The same problem
----> 6 from ..losses import ActivationMaximization

ModuleNotFoundError: No module named 'vis.losses'

from keras-vis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.