Iris-Auto-ae/IRIS__fault-detection-demo-v0.1
0
IRIS fault detection Demo
- The model is running LIVE at Huggingface.
- Run in a terminal with
python app.pyand openhttp://localhost:7861in your browser.
- Alternatively, run with
gradio app.pyto start a dev server with hot reloading enabled.


Customize a fault detection model
- Add a few images of your own and see how the model performs
Note: This demo runs on CPU with num_workers=0, therefore is slow. For demonstration purposes, the model is trained only for 1 epoch. If you want to change run configuration, update the config.ini file accordingly. The model is not properly pre-trained, it is just built with pretrained weights. Segmentation is not yet implemented.
- Give some normal images. Prepare a directory with two folders: one folder 'normal' with normal images and one folder 'anomaly' with faulty images. (e.g.{DATASETS_DIR})
Note: For demo purposes this folder is not editable. If you want to use different input data, then add files in the 'data/' folder and edit the config.ini file accordingly.
Note: If the screen changes size and you can't go up, resize the page using Ctrl + '+' or with the magnifying lens.
- Give a test image. Download a random image from https://huggingface.co/spaces/Interactive-Coventry/IRIS__fault-detection-demo/tree/main/data/nuts/test and upload it to the 'Test Input Image' box.
