Giter VIP home page Giter VIP logo

xaitk / xaitk-saliency Goto Github PK

View Code? Open in Web Editor NEW
77.0 77.0 24.0 18.14 MB

As part of the Explainable AI Toolkit (XAITK), XAITK-Saliency is an open source, explainable AI framework for visual saliency algorithm interfaces and implementations, built for analytics and autonomy applications.

Home Page: https://xaitk.org

License: Other

Python 99.52% Dockerfile 0.24% Shell 0.24%
explainable-ai python saliency visual-saliency xai

xaitk-saliency's People

Contributors

alinajadebarnett avatar bjrichardwebster avatar brianhhu avatar collinsr avatar dependabot[bot] avatar melster1010 avatar purg avatar schencej avatar stephencrowell avatar vbhavank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xaitk-saliency's Issues

Break out of dev/XAI the saliency family of interfaces into a new "xaitk-saliency" package here.

Kitware/SMQTK branch "dev/XAI".
Sources: https://github.com/Kitware/SMQTK/tree/dev/XAI/python/smqtk/algorithms/saliency

  • Break out files using git-filter-repo to maintain history context
  • Adopt support files and configs from smqtk-core.
  • Add github actions workflow for unittests and checks
  • Restructure files into new package structure.
  • Initial pass at adding/fixing type annotations and consistency

Aiming to complete this by May 03.

Naming of files and classes in xaitk-saliency

I went through the xaitk-saliency package at a high-level and noticed some inconsistencies in our current naming scheme. I don't think any of these are huge issues, but it might help a new user or contributor to have a consistent naming pattern. Here are some examples:

xaitk-saliency/xaitk-saliency/interfaces:

  • Should the filename represent a shortened version of the class name?
  • e.g. gen_classifier_conf_sal.py (GenerateClassifierConfidenceSaliency) vs. gen_detection_sal.py (GenerateDetectorProposalSaliency) and gen_similarity_sal.py (GenerateDescriptorSimilaritySaliency)
  • Should these be something like gen_detector_prop_sal.py and gen_descriptor_sim_sal.py, respectively?

xaitk-saliency/xaitk-saliency/impls:

  • Note: implementation folder names might need to be changed if we decide to make edits to the interface names above.
  • Should we use underscores for filenames and Camel case for class names? Again, how closely should the filename match the class name?
  • gen_classifier_conf_sal: occlusion.py vs. rise_scoring.py, should this be occlusion_scoring.py?
  • gen_similarity_sal: currently similarityscoring.py, should this be similarity_scoring.py?

RandomGridStack/DRISEStack out of memory for > 200 masks

Hi,

I followed example notebooks ModelComparisonWithSaliency.ipynb and DRISE.ipynb and was able to make the RandomGrid and DRISE work for 200 masks. DRISE seems to work much better than RandomGrid for 200 masks. As per your instructions in the RandomGrid notebook, I am trying more masks (1200) for RandomGrid but the system runs out of memory very quickly and the process fails. Would you know why? I have 16 GB RAM and 16 GB swap space. Is there any other way to run it without failing and without increasing the RAM size? Let me know if you need any more information around this issue. I would really appreciate your help with this!

Thank you!

Add `poetry check --lock` as a CI

The intention would be to ensure that a branch does not update the content of the pyproject.toml file without appropriately updating the lock file.

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.