Open
Conversation
Corrected swapped X/Y axes for the following videos: - training_020 - training_058 - training_076 - training_078 - training_079 - training_082 - training_083 - training_089
The CSV export in the annotation GUI labeled coordinates as (x, y), but the actual values were written in (y, x) order. This mismatch led to interchanged axes during training. The export now correctly writes (x, y) to match the labels and expected format.
Add guard in the ROI mouse-press handler to ignore clicks outside the image viewport, which were previously mistaken for ROI drags on the very first frame. This also prevents assigning out-of-bounds positions for hexbugs.
Resolved multiple issues in training CSV files: Corrected inconsistent annotations: - training049: frame 1 had 4 hexbugs instead of 1 - training064: frame 100 missing one hexbug - training072: frame 100 missing one hexbug - training088: frame 100 missing one hexbug Out-of-bounds coordinates: - training016: frame 79 had one value out of bounds, adjusted to be inside frame - training061: frame 56 had negative coordinates; removed entry (hexbug head not visible); frames 54 and 55 also had out-of-frame hexbug heads and were removed Verified missing entries due to hexbug head being out of frame (no fix needed): - training001: missing frames 27, 71–73 - training017: frame 3 missing one hexbug
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR fixes several issues in the training dataset and corrects some problems in the annotation GUI that were responsible for causing them.
Fixed training data issues
Videos with swapped axes
training_020,training_058,training_076,training_078,training_079,training_082,training_083,training_089Inconsistent annotations (wrong number of hexbugs)
training049: frame 1 had 4 hexbugs instead of 1training064: frame 100 was missing one hexbugtraining072: frame 100 was missing one hexbugtraining088: frame 100 was missing one hexbugOut-of-bounds coordinates
training016: frame 79 had a value slightly out of bounds, adjusted to be inside the imagetraining061:Verified missing entries (no fix needed)
training001: frames 27, 71–73 with hexbug head not visibletraining017: frame 3 with one hexbug head not visibleAnnotation GUI fixes
(y, x)to correct(x, y)format