File size: 778 Bytes
625c0d4
 
 
 
 
 
 
 
 
 
 
 
1b4a4d8
9a960ac
db83f58
9a960ac
 
 
301b1c6
9a960ac
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: OOD Detection
emoji: 🧐
colorFrom: purple
colorTo: purple
sdk: gradio
sdk_version: 3.12.0
app_file: app.py
pinned: true
license: mit
---

# OOD Detection Demo 🧐

Out-of-distribution (OOD) detection is an essential safety measure for machine learning models. This app demonstrates how these methods can be useful. They try to determine wether we can trust the predictions of a ResNet-50 model trained on ImageNet-1K.

This demo is [online](https://huggingface.co/spaces/edadaltocg/ood-detection) at `https://huggingface.co/spaces/edadaltocg/ood-detection`

## Running Gradio app locally

1. Install dependencies:

```bash
pip install -r requirements.txt
```

2. Run the app:

```bash
python app.py
```

3. Open the app in your browser at `http://localhost:7860`.