Coder Social home page Coder Social logo

Comments (5)

jameswex avatar jameswex commented on July 19, 2024 1

The issue most likely has to do with version numbers of dependencies. The What-If Tool is an old project at this point and was last built against old versions of downstream dependencies. In general, it has been obsoleted by our follow-up tool, LIT (https://pair-code.github.io/lit/, https://github.com/PAIR-code/lit/).

If you wish to try to get the build to work, you may need to work off of an older version of TensorFlow JS than what you currently have installed.

In general, I recommend you look towards more up-to-date tools such as LIT, depending on your task.

from what-if-tool.

taposh avatar taposh commented on July 19, 2024 1

Same error on the Pair-code website as well.

image

from what-if-tool.

jameswex avatar jameswex commented on July 19, 2024

Thanks, I see the issue and am looking into a solution. It seems that the model files for the image classifier that we used from tensorflow.js got moved and now when our demo is redirected to its new location, it is getting a new version of the model files that doesn't match our tensorflow.js version we use in the demos.

from what-if-tool.

jameswex avatar jameswex commented on July 19, 2024

I have fixed the deployed version by making the following change to the compiled image demo html file: a410765

I have not made any change to the source code that would fix this issue in anyone building the demo locally. That would require updating our tf.js version and mobilenet version in our bazel workspace most likely, and then perhaps some code updates for the newer versions of those libraries.

from what-if-tool.

taposh avatar taposh commented on July 19, 2024

Works now ! thank you @jameswex

from what-if-tool.

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.