Skip to content

Commit

Permalink
Merge pull request #310 from leeping-ng/usecase-test-configs
Browse files Browse the repository at this point in the history
fix(cicd-infra): Updated usecase config files to nested dicts instead of list
  • Loading branch information
chngzyk authored Jul 12, 2021
2 parents 09b8b04 + 26b7297 commit bf88ccb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions tests/use_cases/group_size_checking.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
nodes:
- input.recorded:
- input_dir: "images/testing"
input_dir: "images/testing"
- model.posenet
- heuristic.keypoints_to_3d_loc:
- focal_length: 1.14
- torso_factor: 0.9
focal_length: 1.14
torso_factor: 0.9
- heuristic.group_nearby_objs:
- obj_dist_thres: 1.5
obj_dist_thres: 1.5
- heuristic.check_large_groups:
- group_size_thres: 2
group_size_thres: 2
- draw.bbox
- draw.poses
- draw.group_bbox_and_tag
Expand Down
4 changes: 2 additions & 2 deletions tests/use_cases/object_counting.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
nodes:
- input.recorded:
- input_dir: "images/testing"
input_dir: "images/testing"
- model.yolo:
- detect_ids: [0]
detect_ids: [0]
- heuristic.bbox_count
- draw.bbox
- draw.bbox_count
Expand Down
10 changes: 5 additions & 5 deletions tests/use_cases/social_distancing.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
nodes:
- input.recorded:
- input_dir: "images/testing"
input_dir: "images/testing"
- model.posenet
- heuristic.keypoints_to_3d_loc:
- focal_length: 1.14
- torso_factor: 0.9
focal_length: 1.14
torso_factor: 0.9
- heuristic.check_nearby_objs:
- near_threshold: 1.5
- tag_msg: "TOO CLOSE!"
near_threshold: 1.5
tag_msg: "TOO CLOSE!"
- draw.bbox
- draw.poses
- draw.tag
Expand Down
8 changes: 4 additions & 4 deletions tests/use_cases/zone_counting.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
nodes:
- input.recorded:
- input_dir: "images/testing"
input_dir: "images/testing"
- model.yolo:
- detect_ids: [0]
detect_ids: [0]
- heuristic.bbox_to_btm_midpoint
- heuristic.zone_count:
- resolution: [1280, 720]
- zones: [
resolution: [1280, 720]
zones: [
[[0, 0], [0.6, 0], [0.6, 1], [0, 1]],
[[0.6, 0], [1, 0], [1, 1], [0.6, 1]]
]
Expand Down

0 comments on commit bf88ccb

Please sign in to comment.