fire / rf-detr-detection
Finetune
Run fire/rf-detr-detection with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
image |
string
|
Image file to perform object detection on
|
|
pretrained_weights |
string
|
Optional path to specific weights file (.pth) to use for *this prediction only*. Overrides default model.
|
|
confidence_threshold |
number
|
0.5
Max: 1 |
Confidence threshold for detections
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Image file to perform object detection on"
},
"pretrained_weights": {
"type": "string",
"title": "Pretrained Weights",
"format": "uri",
"x-order": 1,
"description": "Optional path to specific weights file (.pth) to use for *this prediction only*. Overrides default model."
},
"confidence_threshold": {
"type": "number",
"title": "Confidence Threshold",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 2,
"description": "Confidence threshold for detections"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"title": "Output"
}