From e3140c607ad9da6f57df6037466080dca49d9afe Mon Sep 17 00:00:00 2001 From: Stefal Date: Fri, 15 Sep 2023 20:13:42 +0200 Subject: [PATCH] lowered download thread from 10 to 4 --- download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.py b/download.py index 59a6f94..38a15d2 100644 --- a/download.py +++ b/download.py @@ -135,7 +135,7 @@ if __name__ == '__main__': #sys.exit() print('downloading.. this process will take a while. please wait') - with concurrent.futures.ThreadPoolExecutor(max_workers=10) as executor: + with concurrent.futures.ThreadPoolExecutor(max_workers=4) as executor: for i,image_data in enumerate(images_data): # create a folder for each unique sequence ID to group images by sequence if not os.path.exists('data/{}'.format(image_data['sequence_id'])):