Batching of poses in cpp implementation.
This commit is contained in:
@ -37,7 +37,7 @@ stop_flag = False
|
||||
# Model config
|
||||
min_bbox_score = 0.4
|
||||
min_bbox_area = 0.1 * 0.1
|
||||
batch_poses = False
|
||||
batch_poses = True
|
||||
|
||||
|
||||
# ==================================================================================================
|
||||
@ -169,7 +169,9 @@ def main():
|
||||
# Load 2D pose model
|
||||
whole_body = test_triangulate.whole_body
|
||||
if any((whole_body[k] for k in whole_body)):
|
||||
kpt_model = utils_2d_pose.load_wb_model()
|
||||
kpt_model = utils_2d_pose.load_wb_model(
|
||||
min_bbox_score, min_bbox_area, batch_poses
|
||||
)
|
||||
else:
|
||||
kpt_model = utils_2d_pose.load_model(min_bbox_score, min_bbox_area, batch_poses)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user