Skip to content

Commit

Permalink
Merge pull request #32 from sidhulyalkar/codespace
Browse files Browse the repository at this point in the history
Minor update related to name changes
  • Loading branch information
kushalbakshi authored Jan 23, 2024
2 parents 0004f4b + 7ba9dcb commit 4c407b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions element_facemap/facemap_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def generate(
),
)

insert_pose_estimation_task = generate
insert_facemap_inference_task = generate


@schema
Expand Down Expand Up @@ -338,7 +338,7 @@ def make(self, key):
output_dir = FacemapInferenceTask.infer_output_dir(
key, relative=True, mkdir=True
)
# update pose_estimation_output_dir
# update facemap_inference_output_dir
FacemapInferenceTask.update1(
{**key, "facemap_inference_output_dir": output_dir.as_posix()}
)
Expand All @@ -356,7 +356,7 @@ def make(self, key):
facemap_result_path = output_dir / f"{vid_name}_FacemapPose.h5"
full_metadata_path = output_dir / f"{vid_name}_FacemapPose_metadata.pkl"

# Trigger Facemap Pose Estimation Inference
# Load or Trigger Facemap Pose Estimation Inference
if (
facemap_result_path.exists() & full_metadata_path.exists()
) or task_mode == "load": # Load results and do not rerun processing
Expand Down

0 comments on commit 4c407b6

Please sign in to comment.