Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sidhulyalkar committed Jan 23, 2024
1 parent d1c78d2 commit 7ba9dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions element_facemap/facemap_inference.py
Original file line number Diff line number Diff line change
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 7ba9dcb

Please sign in to comment.