Open brrbaral opened 10 months ago
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.
Same error on the Pair-code website as well.
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.
I have fixed the deployed version by making the following change to the compiled image demo html file: https://github.com/PAIR-code/what-if-tool/commit/a410765966ad256332b8e67e6cab6fc6d51ef536
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.
Works now ! thank you @jameswex
Hi, I tried to build the web demo using:
bazel run wit_dashboard/demo:imagedemoserver
I got the error:
The same error is in web demo as well: https://pair-code.github.io/what-if-tool/demos/image.html