Object Detection
ultralytics
TensorBoard
PyTorch
v5
ultralyticsplus
yolov8
yolo
vision
visdrone
uav
Eval Results (legacy)
Instructions to use Dricz/gun-obj-detection-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Dricz/gun-obj-detection-5 with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("Dricz/gun-obj-detection-5", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Dricz/gun-obj-detection-5: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/Dricz/gun-obj-detection-5/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Dricz/gun-obj-detection-5/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Dricz/gun-obj-detection-5/resolve/main/preprocessor_config.json
434 Bytes
| { | |
| "do_convert_annotations": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "format": "coco_detection", | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "DetrImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "longest_edge": 1333, | |
| "shortest_edge": 800 | |
| } | |
| } |