Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6bb42a3

Browse files
committedOct 2, 2024·
Made fixes
1 parent 79db452 commit 6bb42a3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ video_input:
99

1010
detect_target:
1111
worker_count: 1
12-
option: 1 # 0 is for Ultralytics (from detect_target_factory.py)
12+
option: 0 # 0 is for Ultralytics (from detect_target_factory.py)
1313
device: 0
14-
model_path: "tests/model_example/yolov8s_ultralytics_pretrained_default.pt" # TODO: update
14+
model_path: "tests/model_example/best-2s.pt" # TODO: update
1515
save_prefix: "log_comp"
1616

1717
flight_interface:

‎main_detect_target.py

-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def main() -> int:
8282
DETECT_TARGET_DEVICE = "cpu" if args.cpu else config["detect_target"]["device"]
8383
DETECT_TARGET_MODEL_PATH = config["detect_target"]["model_path"]
8484
DETECT_TARGET_OVERRIDE_FULL_PRECISION = args.full
85-
DETECT_TARGET_USE_CLASSICAL_CV = config["detect_target"]["use_classical_cv"]
8685
DETECT_TARGET_SAVE_NAME_PREFIX = config["detect_target"]["save_prefix"]
8786
DETECT_TARGET_SAVE_PREFIX = str(pathlib.Path(logging_path, DETECT_TARGET_SAVE_NAME_PREFIX))
8887
DETECT_TARGET_SHOW_ANNOTATED = args.show_annotated
@@ -133,7 +132,6 @@ def main() -> int:
133132
DETECT_TARGET_DEVICE,
134133
DETECT_TARGET_MODEL_PATH,
135134
DETECT_TARGET_OVERRIDE_FULL_PRECISION,
136-
DETECT_TARGET_USE_CLASSICAL_CV,
137135
DETECT_TARGET_SHOW_ANNOTATED,
138136
DETECT_TARGET_SAVE_PREFIX,
139137
),

0 commit comments

Comments
 (0)
Please sign in to comment.