2024-07-06 16:25:30 +00:00
|
|
|
# Refiners Model Explorer
|
|
|
|
|
2024-07-06 18:25:07 +00:00
|
|
|
A [Model Explorer](https://github.com/google-ai-edge/model-explorer) extension to visualize and explore refiners models.
|
2024-07-06 16:25:30 +00:00
|
|
|
|
2024-07-06 16:44:33 +00:00
|
|
|
![](docs/assets/example.webp)
|
|
|
|
|
2024-07-06 16:25:30 +00:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
2024-07-06 16:44:33 +00:00
|
|
|
pip install git+https://github.com/Laurent2916/model-explorer-refiners
|
2024-07-06 16:25:30 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```python
|
|
|
|
from refiners.foundationals.dinov2 import DINOv2_small_reg
|
|
|
|
from model_explorer_refiners import RefinersAdapter
|
|
|
|
|
|
|
|
model = DINOv2_small_reg()
|
|
|
|
RefinersAdapter.visualize(model)
|
|
|
|
```
|