Object Detection
ultralytics
ONNX
TensorRT
Vietnamese
yolo
yolov8
torchscript
int8
fp16
vision
traffic-sign
vietnam
Instructions to use liamxdev/vtsr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use liamxdev/vtsr with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("liamxdev/vtsr") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - TensorRT
How to use liamxdev/vtsr with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -52,8 +52,8 @@ The model returns traffic-sign codes such as `P-102`, `R-303`, and `W-224`. Viet
|
|
| 52 |
| ----------------------- | --------- | -------------------------------------------- |
|
| 53 |
| `vtsr.pt` | FP32 | PyTorch |
|
| 54 |
| `vtsr_int8.onnx` | INT8 | ONNX Runtime, CPU, cross-platform deployment |
|
| 55 |
-
| `
|
| 56 |
-
| `
|
| 57 |
| `label-mapping.json` | — | Traffic-sign code descriptions |
|
| 58 |
|
| 59 |
> The original FP32 PyTorch checkpoint is intentionally omitted. This repository provides optimized deployment artifacts only.
|
|
@@ -74,8 +74,8 @@ from ultralytics import YOLO
|
|
| 74 |
# Supported artifacts:
|
| 75 |
# vtsr.pt
|
| 76 |
# vtsr_int8.onnx
|
| 77 |
-
#
|
| 78 |
-
#
|
| 79 |
|
| 80 |
model = YOLO("vtsr_int8.onnx")
|
| 81 |
|
|
@@ -111,8 +111,8 @@ mapping_path = hf_hub_download(
|
|
| 111 |
Other artifacts can be downloaded in the same way:
|
| 112 |
|
| 113 |
* `vtsr.pt`
|
| 114 |
-
* `
|
| 115 |
-
* `
|
| 116 |
|
| 117 |
## Benchmark
|
| 118 |
|
|
|
|
| 52 |
| ----------------------- | --------- | -------------------------------------------- |
|
| 53 |
| `vtsr.pt` | FP32 | PyTorch |
|
| 54 |
| `vtsr_int8.onnx` | INT8 | ONNX Runtime, CPU, cross-platform deployment |
|
| 55 |
+
| `vtsr.torchscript` | FP16 | TorchScript runtimes |
|
| 56 |
+
| `vtsr.engine` | INT8 | NVIDIA TensorRT and Jetson devices |
|
| 57 |
| `label-mapping.json` | — | Traffic-sign code descriptions |
|
| 58 |
|
| 59 |
> The original FP32 PyTorch checkpoint is intentionally omitted. This repository provides optimized deployment artifacts only.
|
|
|
|
| 74 |
# Supported artifacts:
|
| 75 |
# vtsr.pt
|
| 76 |
# vtsr_int8.onnx
|
| 77 |
+
# vtsr.torchscript
|
| 78 |
+
# vtsr.engine
|
| 79 |
|
| 80 |
model = YOLO("vtsr_int8.onnx")
|
| 81 |
|
|
|
|
| 111 |
Other artifacts can be downloaded in the same way:
|
| 112 |
|
| 113 |
* `vtsr.pt`
|
| 114 |
+
* `vtsr.torchscript`
|
| 115 |
+
* `vtsr.engine`
|
| 116 |
|
| 117 |
## Benchmark
|
| 118 |
|