Git Product home page Git Product logo

xaitk-saliency-web-demo's People

Contributors

brianhhu avatar dependabot[bot] avatar jourdain avatar purg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xaitk-saliency-web-demo's Issues

Saliency map selection can be slow (server-side rendering)

This may be a limitation of the data-passing required for trame, but this issue would be a basic exploration of potential bottlenecks in saliency map visualization (assuming they have already all been computed, and the user is selecting a specific class or detection). This currently occurs with a slight noticeable delay when using the app. Potential solutions should be noted and can be addressed based on an assessment of level of effort.

Update demo to use latest version of trame

This issue addresses technical debt on the xaitk-saliency-web-demo, as it has not been updated recently. The latest version of trame and xaitk-saliency can be pulled in, and any dependency-related issues should either be addressed or noted for additional discussion.

RandomGridStack requires tuple input, which is not supported by current demo interface

The RandomGridStack algorithm (implemented under object detection saliency) requires tuple input for specifying the size of the masking grids. However, the demo only exposes a single integer input, which means the algorithm cannot be configured properly and saliency maps cannot be generated. A new tuple input field should be added whenever the RandomGridStack algorithm is chosen, and the demo app should be tested such that saliency maps can be generated.

Running demo in notebook does not utilize gpu

Currently, running the notebook-version of the app (versus the native app form) is slow due to the fact that the app runs on CPU only. Similar to the app version, a call to update_ml_device should be used to move the data/models to GPU and enable faster computation.

Updating code dependencies?

    altair==4.1.0
    smqtk-classifier==0.19.0
    smqtk-core==0.18.1
    smqtk-dataprovider==0.16.0
    smqtk-descriptors==0.18.1
    smqtk-detection[torch,centernet]==0.19.0
    smqtk-image-io==0.16.2
    xaitk-saliency==0.6.1
    torchvision==0.11.2
    scikit-learn==0.24.2
    scikit-image==0.18.3
    ubelt==1.1.1

@Purg @brianhhu Any suggestion in term of version if we should update any of the listed above?

Demo won't start `zsh: command not found: xaitk_saliency_demo`

I followed the instructions of the ReadMe file, but after installing all prerequisites I get the following error, no matter if I use the PyPi package for installation or if I install it from the project directory.

zsh: command not found: xaitk_saliency_demo

What is missing to run the demo?

Clearing of input image does not reset other stateful data

Currently, clearing the input image does not reset the other fields/visualizations in the app (e.g. model predictions, etc.) Another discovered edge case is clearing the input image for the image classification task, and then switching to the object detection task still shows the predicted bounding boxes (even without any input). It would be nice to clear the relevant data/fields so that the app is ready to be used each time a user clears the input image.

Add ability to customize number of top-K detections for object detection saliency

Similar to image classification saliency (which exposes an option for the number of top-K classes to explain), the object detection saliency GUI could have a similar dropdown for customizing the number of top-K detections to compute saliency for. This would make the context between the two tasks more similar for a user.

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.