Giter VIP home page Giter VIP logo

pnpxai's People

Contributors

enver1323 avatar ghkim9213 avatar seongun-kim avatar shiningstone23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pnpxai's Issues

[AFTER DEMO] target layer for GradCam and GuidedGradCam

We are not providing target layer as a kwarg, by automatically locating candidate layer. So, I think we have two choices for the next step

  • keep this policy and remove unnecessary kwargs such as attribute_to_layer_input, relu_attributions and attr_dim_summation
  • modify the explainers allowing user to manually input target layer as well as automation, keeping kwargs

I think the second one is more desirable.

Testing fails with memory issue

The robustness test for RAP fails with memory issue on the gpu server. This is not the matter of robustness in computing time, but I guess the testing should cover this issue. One of my idea is to make separate testing code to check robustness of explainer about memory. What do you think about this @enver1323 ?

[AFTER DEMO] an experiment with an evaluator including same multiple metrics

I've tried to implement an experiment on quality of metrics over parameter settings. For example, I wanted to check whether MuFidelity(n_perturbations=20) returns similar value with MuFidelity(n_perturbations=200). To do this, I tried replacing auto-evaluator to my own evaluator (This is not elegant way. I think we need to talk about this as a separate issue) and running it.

proj = Project("test proj")
expr = proj.create_auto_experiment(model=model, data=data)

# replace to my own
expr.evaluator = XaiEvaluator(metrics=[
    MuFidelity(n_perturbations=20),
    MuFidelity(n_perturbations=200),
])

expr.run()

As a result, run.evaluations returned the last metric values only, even though the first metric values were calculated. The reason is that the current version of evaluator is collecting the values by name of metric, not the index of it. There are several ways to implement such experiment in the current version i.e. creating multiple experiments over different param settings, However, it is not efficient because it runs explainer twice.

refactor: import metrics

Currently,

from pnpxai.evaluator.mu_fidelity import MuFidelity
from pnpxai.evaluator.sensitivity import Sensitivity
from pnpxia.evaluator.complexity import Complexity

I think the following is more convenient, flexible and intuitive

from pnpxai.evaluator.metrics import MuFidelity, Sensitivity, Complexity

Move Inputs request into the modal window

Currently, experiments inputs request is initialized with page loading, which causes a delay in page loading. Let's bind this request to the modal window openning condition. This would allow quick initial page load

UI 디자인 초안 만들기 | Draft for UI Design

Draft

UI Design

아래의 사항을 참고하여 Figma로 UI Design

  • 주요 페이지 구성
    • Model Detection Info
      • Model Name
      • Model Layer
    • Algorithm Visualization
      • 주어진 Sample들에 대해서 아래의 정보를 보여줌
      • Sample Image, Predicted Label, True Label, Overlapped Heatmap, Evaluation Score

UI Design in Figma following details:

Main Page Structure

  • Model Detection Info
    • Model Name
    • Model Layer
  • Algorithm Visualization
    • Display the following information for the given samples
    • Sample Image, Predicted Label, True Label, Overlapped Heatmap, Evaluation Score"

XAI Visualization in React

How can we address the Plotly Object?

Suggesttion

  • Request to save the heatmap image to server with API Request
  • Request evaluation score data to server with API Request.
  • Visualize the data using plotly.js

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.