-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedge-config.yaml
30 lines (24 loc) · 1.5 KB
/
edge-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# For configuring detectors on the edge endpoint. See CONFIGURING-DETECTORS.md for more information.
global_config: # These settings affect the overall behavior of the edge endpoint.
refresh_rate: 60 # How often to attempt to fetch updated ML models (in seconds). If not set, defaults to 60.
edge_inference_configs: # These configs define detector-specific behavior and can be applied to detectors below.
default: # Return the edge model's prediction if sufficiently confident; otherwise, escalate to the cloud.
enabled: true
always_return_edge_prediction: false
disable_cloud_escalation: false
edge_answers_with_escalation: # Always return the edge model's predictions, but still escalate to cloud if unconfident.
enabled: true
always_return_edge_prediction: true
disable_cloud_escalation: false
min_time_between_escalations: 2.0
no_cloud: # Always return the edge model's prediction and never escalate to the cloud.
enabled: true
always_return_edge_prediction: true
disable_cloud_escalation: true
disabled: # Don't accept image queries on the edge endpoint for the associated detector.
enabled: false
detectors: # Each entry here defines the edge configuration for a detector.
# To configure a detector, add an entry for it below with its detector ID and the name of the edge inference config
# you want to use. You can use or modify one of the existing edge inference configs listed above, or define your own.
- detector_id: ""
edge_inference_config: "default"