-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathvision-inference.yaml
More file actions
89 lines (82 loc) · 2.02 KB
/
Copy pathvision-inference.yaml
File metadata and controls
89 lines (82 loc) · 2.02 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: vision-inference
repo_root: .
role: application
default_branches:
integration: develop
release: master
dependencies:
- vision-core
- neuriplo
- videocapture
entrypoints:
configure_default:
- cmake -S . -B build -DDEFAULT_BACKEND=OPENCV_DNN -DCMAKE_BUILD_TYPE=Release
configure_with_tests:
- cmake -S . -B build-test -DDEFAULT_BACKEND=OPENCV_DNN -DENABLE_APP_TESTS=ON -DCMAKE_BUILD_TYPE=Release
build:
- cmake --build build
build_with_tests:
- cmake --build build-test
test:
- ctest --test-dir build-test --output-on-failure
benchmark_smoke:
- VISION_INFERENCE_BENCHMARK_WEIGHTS=<path-to-yolo-weights.onnx> ./build/app/vision-inference --type=yolo --source=data/dog.jpg --weights=${VISION_INFERENCE_BENCHMARK_WEIGHTS} --benchmark --iterations=10
api_surface:
cli_flags:
- type
- source
- weights
- labels
- text_prompts
- prompt
- output_format
- sample_stride
- max_frames
- tokenizer_vocab
- tokenizer_merges
- min_confidence
- nms_threshold
- mask_threshold
- batch
- input_sizes
- use-gpu
- warmup
- benchmark
- iterations
public_components:
- VisionApp
- CommandLineParser
- AppConfig
constraints:
preserve_cli_compatibility: true
preserve_output_schema: true
protect_backend_fallback_behavior: true
protect_latency_sensitive_paths: true
owned_paths:
- app/
- CMakeLists.txt
- cmake/
- scripts/
- docs/
- versions.env
cross_repo_contracts:
consumes_from_vision_core:
- TaskFactory model types
- Result variant semantics
- Tensor shape assumptions
consumes_from_neuriplo:
- backend selection and runtime wiring
- dependency version compatibility
consumes_from_videocapture:
- source open semantics
- backend selection priority
automation_rules:
allowed_change_classes:
- ci-triage
- test-fix
- docs-sync
- downstream-api-migration
forbidden_change_classes:
- model-io-change
- inference-logic-change
- packaging-release-change