From 60440d3c1dd9871cc542fd5566ff0dc1bf4f22dc Mon Sep 17 00:00:00 2001 From: Sidharth Hulyalkar Date: Fri, 19 Jan 2024 08:55:10 -0800 Subject: [PATCH] FIX: add missing insert to master table in trigger step --- element_facemap/facemap_inference.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/element_facemap/facemap_inference.py b/element_facemap/facemap_inference.py index 49dc897..b7e62e5 100644 --- a/element_facemap/facemap_inference.py +++ b/element_facemap/facemap_inference.py @@ -418,6 +418,14 @@ def make(self, key): total_frame_count, creation_time, ) = _load_facemap_results(key, facemap_result_path, full_metadata_path) + self.insert1( + { + **key, + "inference_completion_time": creation_time, + "inference_run_duration": inference_duration, + "total_frame_count": total_frame_count, + } + ) self.BodyPartPosition.insert(body_part_position_entry) @classmethod