From 938363ba3b2533117e2721aea51e880b17519025 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Mon, 10 Jun 2024 15:06:26 +0000 Subject: [PATCH] Free cache --- opensfm/undistort.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opensfm/undistort.py b/opensfm/undistort.py index 60ef7b571..12132ee56 100644 --- a/opensfm/undistort.py +++ b/opensfm/undistort.py @@ -119,6 +119,7 @@ def undistort_reconstruction_with_images( ) parallel_map(undistort_image_and_masks, arguments, processes) + _camera_mapping_cache = {} return undistorted_shots