Closed bnmajor closed 4 days ago
As the UI switches between images, it jumps around a lot (the label list vanishes and comes back). Also, somehow I got this to occur:
As the UI switches between images, it jumps around a lot (the label list vanishes and comes back).
There was an unnecessary conditional for rendering the list of categories. This has been removed so there should be no more jumpy labeling dialog.
Also, somehow I got this to occur:
I can't reproduce this exact behavior but my best guess is that somehow the UI was in a state of constantly trying to re-compute how many prediction chips to display. I've refactored and simplified this logic so hopefully this solves this specific issue.
As to general jumpiness I am not seeing anything else in my testing, but if you are please let me know specifics and I will try to reproduce and resolve the issue!
Trying this branch again, I don't see the category counts change as I label superpixels. I tried a reload, and I got a display where I see
and can't retrain. I am using two images.
I'm still seeing an issue where I take a two image project and start it, after creating categories before superpixels are generated, I then can seemingly label the superpixels but the labels don't save so I can't do training. Refreshing the interface resolves the issue.
The other occasional issues I see are when toggling between modes and going back to Guided mode, sometimes it seems like the wrong image is present (or at least the bounding box isn't aligned with the superpixel thumbnail). Similarly, after retraining once it appeared to show the wrong image (bounding box outside of the image bounds).
Third, when I type a label category hotkey on the last guided patch on the bottom, it was failing to advance to the next panel of patches. But I can't reliably reproduce this.
If it is easier, we can merge this in and see if there are still issues with mosaic view branch and resolve them there.
I'm still seeing an issue where I take a two image project and start it, after creating categories before superpixels are generated, I then can seemingly label the superpixels but the labels don't save so I can't do training. Refreshing the interface resolves the issue.
Just to note here: When @manthey and I last met to review these issues we did not see this behavior and I have still been unable to reproduce. The bug may still exist but it may be better to open this as a separate issue with any relevant details for reproducing the bug if it appears again.
The other occasional issues I see are when toggling between modes and going back to Guided mode, sometimes it seems like the wrong image is present (or at least the bounding box isn't aligned with the superpixel thumbnail). Similarly, after retraining once it appeared to show the wrong image (bounding box outside of the image bounds).
I was able to produce this bug once. I have added in an additional guard that I believe solves the issue, but I was unable to reproduce the bug a second time (with or without the fix) so I would appreciate some additional testing.
Third, when I type a label category hotkey on the last guided patch on the bottom, it was failing to advance to the next panel of patches. But I can't reliably reproduce this.
Despite seeing this bug first hand with @manthey I have been unable to reproduce and debug. I will open a separate issue for this to hopefully track and resolve shortly.
Additional fix: It was possible to begin to edit the hotkey for a category and, depending on how the input was selected, attempts to edit would be ignored. This issue has been resolved.
@manthey The lost labels bug seems to be corrected now, I'd love to confirm you are also no longer seeing issues!
Edit: The automatic "next page" for labeled superpixel chips should also be fixed now.
Awesome! I can no longer replicate the issues I had be seeing.
This PR contains quite a few changes. To summarize:
Component refactoring
ActiveLearningGlobalComponent
, which manages components that are reused regardless of mode (slide viewer, labeling dialog, information panel, opacity slider) as well as the visibility of those that are mode-specific (merge confirmation, predictions filmstrip).ActiveLearningInitialLabels
andActiveLearningContainer
. This has been refactored to now only create one slide viewer for all modes called theActiveLearningSlideViewer
component.ActiveLearningKeyboardShortcuts
component has been removed completely and theActiveLearningLabeling
component is now re-used in both the labeling and guided mode.UI and Feature Changes
These changes should match the mockup as closely as possible.
Questions and Concerns