This repository was archived by the owner on Apr 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
feat: change order of sequences and add randomize option for street project #989
Merged
Merged
Changes from 4 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4145a49
Merge pull request #963 from mapswipe/dev
thenav56 62310b0
Merge pull request #965 from mapswipe/dev
samshara 0f8a455
Merge pull request #978 from mapswipe/dev
thenav56 745098b
Merge pull request #981 from mapswipe/dev
Hagellach37 ee4d494
Merge pull request #982 from mapswipe/dev
Hagellach37 b188ab9
Merge branch 'dev'
Hagellach37 d3b3f3d
feat: sequences are now in direction of travel
Gigaszi 417a5fa
fix: just use on dataframe to save memory
Gigaszi 3f09ae7
feat: add option to randomize order of images
Gigaszi b9e0a49
fix: change test to match new code
Gigaszi cb12624
fix: tasks are only randomized if randomize_order is True
Gigaszi e91373d
Merge branch 'main' into improve-street-project
Gigaszi 50cb94f
fix: randomize after spatial sampling
Gigaszi 8b37284
fix: reassign downloaded metadata
Gigaszi 3bdc562
feat: images are in sequential order if randomizeOrder is false or none
Gigaszi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that we randomize the task order even if randomize_order is False (because not None)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried creating projects with a) no
randomizeOrderattribute in the project draft, b)randomizeOrderset to false and c)randomizeOrderset to true. All resulting projects seem to have tasks in random order. I would have expected the randomization only when randomizeOrder is explicitely set to true? Could you please check?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested with some different project drafts. Tasks were in random order when I provided no
samplingThresholdand in sequential order when I set asamplingThreshhold, regardless of the value ofrandomizeOrder.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it works for me. Images are in sequential order when a samplingThreshold is set, unless randomizeOrder is true.