File size: 1,826 Bytes
b333d2a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
library_name: onnx
tags:
  - object-detection
  - yolo
  - yolox
  - yolo9
  - rfdetr
  - onnxruntime-web
  - webgpu
  - browser
  - libreyolo
license: mit
---

# LibreYOLO Web — Model Zoo

Pre-exported ONNX models for [libreyolo-web](https://github.com/xuban-ceccon/libreyolo-web), the browser-based multi-family YOLO detection library.

## Usage

```bash
npm install libreyolo-web onnxruntime-web
```

```typescript
import { loadModel } from 'libreyolo-web';

// Auto-downloads from this repo, zero config
const model = await loadModel('yolox-nano');
const result = await model.predict(imageElement);
```

## Available Models

### YOLOX (letterbox + BGR + 0-255)
| Name | Input | Size | File |
|------|-------|------|------|
| `yolox-nano` | 416 | 3.6MB | `yolox_n.onnx` |
| `yolox-tiny` | 416 | 19MB | `yolox_t.onnx` |
| `yolox-small` | 640 | 34MB | `yolox_s.onnx` |
| `yolox-medium` | 640 | 97MB | `yolox_m.onnx` |
| `yolox-large` | 640 | 207MB | `yolox_l.onnx` |
| `yolox-xlarge` | 640 | 378MB | `yolox_x.onnx` |

### YOLO9 (resize + RGB + /255)
| Name | Input | Size | File |
|------|-------|------|------|
| `yolo9-tiny` | 640 | 8MB | `yolo9_t.onnx` |
| `yolo9-small` | 640 | 28MB | `yolo9_s.onnx` |
| `yolo9-medium` | 640 | 77MB | `yolo9_m.onnx` |
| `yolo9-compact` | 640 | 97MB | `yolo9_c.onnx` |

### RF-DETR (resize + ImageNet norm, no NMS)
| Name | Input | Size | File |
|------|-------|------|------|
| `rfdetr-nano` | 384 | 103MB | `rfdetr_n.onnx` |
| `rfdetr-small` | 512 | 109MB | `rfdetr_s.onnx` |
| `rfdetr-medium` | 576 | 115MB | `rfdetr_m.onnx` |
| `rfdetr-large` | 704 | 116MB | `rfdetr_l.onnx` |

## Training

All models were trained on COCO using [libreyolo](https://github.com/LibreYOLO/libreyolo) (Python) and exported to ONNX with `model.export(format='onnx', simplify=True)`.

## License

MIT