From 51f1c62b8ad4fdf00a971d5413348acd5459ae40 Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Tue, 28 Jan 2025 10:19:40 -0800 Subject: [PATCH 1/2] chore: increase sequence limit to 1000 images --- mapillary_tools/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapillary_tools/constants.py b/mapillary_tools/constants.py index 6f6831cbc..ac25047c3 100644 --- a/mapillary_tools/constants.py +++ b/mapillary_tools/constants.py @@ -43,7 +43,7 @@ # WARNING: Changing the following envvars might result in failed uploads # Max number of images per sequence -MAX_SEQUENCE_LENGTH = int(os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_LENGTH", 500)) +MAX_SEQUENCE_LENGTH = int(os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_LENGTH", 1000)) # Max file size per sequence (sum of image filesizes in the sequence) MAX_SEQUENCE_FILESIZE: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_FILESIZE", "2G") # Max number of pixels per sequence (sum of image pixels in the sequence) From 8b0b085bfcd107f0393f67b0818671341cb56bba Mon Sep 17 00:00:00 2001 From: Tao Peng Date: Tue, 28 Jan 2025 10:23:02 -0800 Subject: [PATCH 2/2] increase file size to 10GB --- mapillary_tools/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapillary_tools/constants.py b/mapillary_tools/constants.py index ac25047c3..ba2482b49 100644 --- a/mapillary_tools/constants.py +++ b/mapillary_tools/constants.py @@ -45,6 +45,6 @@ # Max number of images per sequence MAX_SEQUENCE_LENGTH = int(os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_LENGTH", 1000)) # Max file size per sequence (sum of image filesizes in the sequence) -MAX_SEQUENCE_FILESIZE: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_FILESIZE", "2G") +MAX_SEQUENCE_FILESIZE: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_FILESIZE", "10G") # Max number of pixels per sequence (sum of image pixels in the sequence) MAX_SEQUENCE_PIXELS: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_PIXELS", "6G")