mirror of
https://forge.chapril.org/tykayn/mapillary_download
synced 2025-10-09 17:02:46 +02:00
lowered download thread from 10 to 4
This commit is contained in:
parent
3f25135c4e
commit
e3140c607a
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ if __name__ == '__main__':
|
||||||
#sys.exit()
|
#sys.exit()
|
||||||
|
|
||||||
print('downloading.. this process will take a while. please wait')
|
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):
|
for i,image_data in enumerate(images_data):
|
||||||
# create a folder for each unique sequence ID to group images by sequence
|
# create a folder for each unique sequence ID to group images by sequence
|
||||||
if not os.path.exists('data/{}'.format(image_data['sequence_id'])):
|
if not os.path.exists('data/{}'.format(image_data['sequence_id'])):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue