mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Add note for customizing rfdetr resolution
This commit is contained in:
parent
a6de759b01
commit
98056acbbb
@ -909,6 +909,16 @@ To export as ONNX:
|
|||||||
4. `x = RFDETRBase()`
|
4. `x = RFDETRBase()`
|
||||||
5. `x.export()`
|
5. `x.export()`
|
||||||
|
|
||||||
|
#### Additional Configuration
|
||||||
|
|
||||||
|
The input tensor resolution can be customized:
|
||||||
|
|
||||||
|
```python
|
||||||
|
from rfdetr import RFDETRBase
|
||||||
|
x = RFDETRBase(resolution=560) # resolution must be a multiple of 56
|
||||||
|
x.export()
|
||||||
|
```
|
||||||
|
|
||||||
### Downloading YOLO-NAS Model
|
### Downloading YOLO-NAS Model
|
||||||
|
|
||||||
You can build and download a compatible model with pre-trained weights using [this notebook](https://github.com/blakeblackshear/frigate/blob/dev/notebooks/YOLO_NAS_Pretrained_Export.ipynb) [](https://colab.research.google.com/github/blakeblackshear/frigate/blob/dev/notebooks/YOLO_NAS_Pretrained_Export.ipynb).
|
You can build and download a compatible model with pre-trained weights using [this notebook](https://github.com/blakeblackshear/frigate/blob/dev/notebooks/YOLO_NAS_Pretrained_Export.ipynb) [](https://colab.research.google.com/github/blakeblackshear/frigate/blob/dev/notebooks/YOLO_NAS_Pretrained_Export.ipynb).
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user