openvinotoolkit / anomalib

An anomaly detection library comprising state-of-the-art algorithms and features such as experiment management, hyper-parameter optimization, and edge inference.
https://anomalib.readthedocs.io/en/latest/
Apache License 2.0
3.65k stars 647 forks source link

Add Gradio Support #275

Closed julien-blanchon closed 2 years ago

julien-blanchon commented 2 years ago

Gradio App is an open source machine learning interface running on top of Python : https://gradio.app/

It's quite easy to implement and very hackable. It's also compatible with Hugging Face Space (https://huggingface.co, https://huggingface.co/spaces).

I may help user and researcher to:

gradio gradio_draw1 gradio_draw2

julien-blanchon commented 2 years ago

I've implemented a quick example with my EuroSat Dataset here: https://github.com/julien-blanchon/anomalib/tree/gradio It may for now only work with segmentation

ashwinvaidya17 commented 2 years ago

Great stuff! It was on our todo list.

samet-akcay commented 2 years ago

@julien-blanchon, brilliant! As @ashwinvaidya17, it's been on our list for ages, just didn't have time to implement it

julien-blanchon commented 2 years ago

I don't have the right to create a new branch here, I don't feel comfortable enough to request a merge with current project branch https://github.com/julien-blanchon/anomalib/tree/gradio

ashwinvaidya17 commented 2 years ago

@julien-blanchon feel free to create a PR from your fork. We squash commits before merging in case that's what you are concerned about. We can always polish the rest in the PR review.

julien-blanchon commented 2 years ago

https://github.com/openvinotoolkit/anomalib/pull/283