I am becoming increasingly convinced this is not a problem with mapillary_tools, but somehow with Desktop Uploader. I tried CLI processing the same sequences of images (wiped clean each time) 30 times for versions 0.9.5, 0.9.4 and 0.9.4 bundled with DU 3.1.1 (not sure if it’s any different), and it generated the same correct sequences all 30 times. The first time I drop it in Desktop Uploader, I get broken sequences.
This is how I run CLI ones:
mapillary_tools-0.9.5-win-64bit.exe process "E:\Mapillary\bug testing\P\1" "E:\Mapillary\bug testing\P\2" "E:\Mapillary\bug testing\P\3" "E:\Mapillary\bug testing\P\4" "E:\Mapillary\bug testing\P\5" "E:\Mapillary\bug testing\P\6" --desc_path="E:\Mapillary\bug testing\mapillary_image_description-01.json"
This is how Desktop Uploader seems to run it as per its log file:
C:\Users\###\AppData\Local\Programs\mapillary-desktop-uploader\resources\static\mapillary_upload_cli-win32.exe process E:\Mapillary\bug testing\P\1 E:\Mapillary\bug testing\P\2 E:\Mapillary\bug testing\P\3 E:\Mapillary\bug testing\P\4 E:\Mapillary\bug testing\P\5 E:\Mapillary\bug testing\P\6 --custom_meta_data mapillary_uploader_version,string,3.1.1 --skip_process_errors --desc_path C:\Users\###\AppData\Local\Temp\mapillary_image_description.json
It is very cumbersome to rerun this on the Desktop Uploader because I cannot automate it, so I only did 6 runs. But you can see the random results as I number unique sequence IDs in the .josn file:
0 1 0 1 2 3 4 5 4 5 4 5 4 5 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
0 1 0 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
0 1 2 3 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 16 17 16 17 18 19 18 19 18 20 21 22 23 24 25 26 27 28 29 30 31 30 31 32 33 32 34 35 36 35 36 35 37 38 39 40 41 42 43 44 43 44 45 46 45 47 48 49 50 51 50 51 52 53 54 53 54 53
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 18 20 21 20 21 20 22 23 24 25 24 26 27 28 29 30 29 30 29 31 32 33 34 35 36 37 38 39 40
For example, in the above screenshot the first run’s indices of unique “segments of sequences” 0 1 0 1 2 3 4 5 4 5 4 5 4 5 4 6 7 8...
the 4 5 4 5...
is the split sequence highlighted in the screenshot above - sequence #4 is interweaved with sequence #5.
Runs 1, 2, 3 and 6 were broken. Runs 4 and 5 were fine. So it’s totally random as far as I can tell. Sometimes less, sometimes more. This matches what I previously saw.
Here are the .josn files from these runs: 3.54 MB file on MEGA
For reference, I have 6 folders with 482, 182, 6745, 5872, 2734, and 441 images. All sequentially named and dated. Nothing weird about them that I can see - and CLI tools don’t seem to have issues with them. As before, they are 15 GB, so I don’t know if I can upload them anywhere.