-
Notifications
You must be signed in to change notification settings - Fork 18
LabelBOT #1012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
gkourie
wants to merge
195
commits into
master
Choose a base branch
from
labelbot
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
LabelBOT #1012
Changes from 6 commits
Commits
Show all changes
195 commits
Select commit
Hold shift + click to select a range
6f0dd0d
Perform vector search to get label_id if not provided in request
gkourie d956947
Add test case for vector search without hnsw index
gkourie e2c26c2
Add vector search helper functions
gkourie d838cb2
Use Dynamic Index Switching in vector search
gkourie f441d15
Move vector search functions to controller
gkourie a6410b3
Define new attribute for Annotation model to attach multiple labels t…
gkourie ca8c43a
Add new request format for storing annotation without label_id
gkourie 6df585f
Remove feature vector rule
gkourie 8ffba23
Attach full label models to the labelBOTlabels
gkourie 4945ba0
Avoid adding the subquery to the query as a string
gkourie ae7d882
Refactor Code and expand documentation
gkourie 296d0f9
Implement annotation-store rules directly in StoreImageAnnotation
gkourie 602b253
Expand labelbot config comments
gkourie 89bc3c8
Fix lint
gkourie bb3c221
Use WhereIn to get the labelBOTlabels
gkourie 11989cd
Append labelBOTlabels attribute only to the response of the store() c…
gkourie 87ed509
Implement the HNSW drop and rollback logic
gkourie 915438e
Fix lint
gkourie 802764d
Fix store feature vector test case
gkourie 8fafb6e
Set HNSW search paramter to K
gkourie 99ad2f3
Delete unnecessary index existence check
gkourie bdc02fd
Make index name unconfigurable
gkourie c8130c5
Add LabelBOT button
gkourie 1f1a513
Fix wrong scss class import
gkourie 128855c
Fix activation/deactivation logic of LabelBOT
gkourie 3a18573
Make drawing possible when LabelBOT is on
gkourie f5120cb
Fix handle LabelBOT method name
gkourie 2093bc9
Use another canvas to save image for LabelBOT
gkourie 486375f
WIP LabelBOT logic
gkourie 9a2d2de
Fix error loading image which was caused by an empty line in labelbot…
gkourie 24e0d60
Merge branch 'master' into labelbot
gkourie 8716cf7
Add onnx dependency
gkourie fd7695d
Fix lint-js
gkourie d4f6445
WIP LabelBOT popover
gkourie f1b13ec
Implement labelBOT popover
gkourie 182489a
Import labelBOT popup correctly
gkourie 559a1dd
Use Typeahead for the LabelBOT popup input search
gkourie bea432b
Listen to focus event instead of typing in LabelBOT typeahead
gkourie 92b41ab
Fix label re-attach when searching for top 1 label
gkourie 945a2a2
Integrate labelBOT popup into annotator container
gkourie 6de7948
Reset drawing interaction when maximum number of labelBOT's requests …
gkourie f68996a
Fix labelBOT's max number of requests message
gkourie 8976b0b
Hide LabelBOT popup when deleting top 1 label's annotation from Annot…
gkourie 0afe1b3
Set LabelBOT labels only when labelBOT is on
gkourie 0947824
Set configurable max number of labelBOT's requests
gkourie 5960c34
Fix php coding style
gkourie d8e7454
Implement LabelBOT indicator
gkourie 8db7ae7
Add LabelBOT indicator assets
gkourie 23aa975
Add python script to export the onnx model for labelBOT
gkourie b08c44e
Add new API Endpoint to stream LabelBOT's onnx model
gkourie 00bb7ab
Deselect the selected label automatically when LabelBOT is activated …
gkourie 82fac19
Update LabelBOT change event
gkourie e3e1d1a
Add Labelbot mixins
gkourie 6bf2b78
Include missing labelbot mixin
gkourie 2ee5616
Cache labelBOT's onnx model
gkourie 6bd4bf0
Fix some annotation tool can't be selected though labelBOT is on
gkourie f94d3a4
make temporary annotation shown until the annotation is saved when La…
gkourie 083cfb1
Fix some annotation tool that can be selected though LabelBOT is busy
gkourie a4a15eb
Connect the annotation to LabelBOT's popup with dashed line
gkourie e47a051
Refactor LabelBOT's code
gkourie d8fd937
Focus LabelBOT popup on click
gkourie b21c5e7
Refactor LabelBOT mixin
gkourie 22624cb
Init LabelBOT's onnx model only when LabelBOT is on
gkourie 711eb31
Stop LabelBOT' progress bar when hovering over the labels
gkourie 181edb5
Turn off LabelBOT when loading the onnx model fails
gkourie 4754d95
Set LAbelBOT's popup width to 300px
gkourie fb9dd49
Add readme and requirements for the onnx export script
gkourie 36fdbff
Remove LabelBOT's onnx model API Controller
gkourie 7493043
Normalize the input image before generating the feature vector for La…
gkourie 2e6b27c
Add Keybord shortcuts for LabelBOT popups
gkourie 94108dc
Merge remote-tracking branch 'origin/master' into labelbot
gkourie 0bd63d5
Adjust LabelBOT's emits
gkourie 0ecef46
Remove LabelBOT's popups when switching images
gkourie 8ffa0ad
Fix vite cors for onnx-model
gkourie 2a652aa
Add grap area to LabelBOT's popups
gkourie 03c4b2d
Fix ImageAnnotationLabelFeatureVector import
gkourie ecef2b7
Update LabelBOT indicator style
mzur 085b37a
Add warm up step to LabelBOT model
gkourie a52d07a
Fix LabelBOt's Popup Enter event
gkourie dd44a9c
Update package-lock.json
gkourie 648c89c
Centrize the LabelBOT indicator
gkourie 710d3ab
Clean up LabelBOT code
gkourie 120d1e4
Use onnx url instead of onnx file
gkourie 911cf87
Use watcher for LabelBOT's popup removal when switching images
gkourie 6a8f2ed
Adjust promise chain indentation
gkourie ab2d347
Use Enum for LabelBOT states
gkourie ccdf357
Init LabelBOT's overlays when it's on
gkourie 0f53b3a
Replace LabelBOT's state with Enum overall
gkourie dd4a127
Fix LabelBOT messages when using annotating tools
gkourie cd87172
Disable LabelBOT toggle when no labels are available
gkourie 73378e7
Use source image direcly to extract annotation data for LabelBOT
gkourie 070b2ca
Use refs to clear selected label when LabelBOT is turned on
gkourie 454ea32
Refactor LabelBOT logic
gkourie d25b2da
Set proper title to LabelBOT's toggle button when disabled
gkourie 8f11027
Fix overlay position for LineString shape annotation
gkourie 6760b02
Handle the case where LabelBOT does not return any results
gkourie fbcb84e
Fix LabelBOT's LabelId
gkourie 7f02edb
Cleanup LabelBOTs code
gkourie 663947a
Ignore LabelBOT Popup's typeahead when using arrow key bindings tempo…
gkourie 4b4acb7
Fix LabelBOT indicator box padding
gkourie fdf2244
Start drawing LabelBOT popup line from farthes right vertex
gkourie ac42868
Set a propriate LabelBOT toggle title
gkourie da458a5
LabelBOT cleanup
gkourie 9e8b89e
Disable LabelBOT if there are no annotations in the project
gkourie 3b08d02
Show LabelBOT popup when it's disabled during computing
gkourie 1766e45
Set chache variable to track pending LabelBOT requests
gkourie 76d2e2b
Add HNSW creation migration file with show progress Command
gkourie fcbcc92
Composer fix
gkourie ca79327
Cleanup LabelBOT backend code.
gkourie 6212740
Fix LabelBOT rate limit is not reached
gkourie 3253c3b
Add semicolon
gkourie 6a06807
Merge remote-tracking branch 'origin/master' into labelbot
gkourie 3aa326c
Set the correct focused LabelBOT popup key when deleting some popup
gkourie 1d9ecd2
Add Top-N key bindings to LabelBOT popup
gkourie 9ffb447
Add visual effect when LAbelBOT popup is focused
gkourie ba51328
Fix LabelBOT labels deletion method
gkourie 32b0726
sMake LabelBOT popups draggable
gkourie 266fc95
Tweak LabelBOT popup focused and highlight styles
mzur e3857fb
Simplify LabelBOT popup template and CSS
mzur 9e59cdb
Add title attributes to LabelBOT popup
mzur f322705
Tweak LabelBOT popup event handling
mzur f42e80d
Make LabelBOT popup arrow key shortcuts cyclic
mzur 78a1306
Remove overflow hidden from LabelBOT popup so label items in the drop…
gkourie 2c9a6ed
Disable progress bar when dragging LabelBOT Popup
gkourie 32f27ae
Disable LabelBOT when no annotations are associated with any labels o…
gkourie 0225f05
Allow users to create max 20 LabelBOT popups instead of 5
gkourie 733d070
Improve UI of LabelBOT button and indicator
mzur 6059c1a
WIP move LabelBOT popup logic to component
mzur cf4f66a
Remove unneeded code
mzur a3c5351
Add LabelBOT section to the manual
gkourie caf7c9b
Move LabelBOT popup drag logic to component
mzur 667c970
Finish LabelBOT popup dragging behavior
mzur 71e2767
Fix LabelBOT popup timeout again
mzur ce5a58c
Fix automatic removal of LabelBOT popups
mzur a8324da
Improve closing of LabelBOT popups on image change
mzur 3d6afee
Move annotationCanvas LabelBOT stuff to mixin
mzur fc91bae
Fix cleanup of keyboard shortcuts
mzur 676ae88
Adjust default values
mzur b9f39d6
Remove LabelBotPopup model
mzur 830df13
Implement new LabelBOT popup Esc key behavior
mzur a2fd109
Fix LabelBOT popup number key behavior
mzur 965a934
Refactor client implementation of LabelBOT request limit
mzur 9fcc7d2
Move more methods to mixin
mzur 7686d6c
Fix linter errors
mzur bcc3c4a
Enable LabelBOT even if no annotations exist
mzur b2c9962
Fix CS
mzur 7733fef
Move LabelBOT toggle title logic to labelsTab component
mzur 91d7822
Improve new annotation feature vector validation
mzur 63dc38a
WIP Implement experimental LabelBOT inference via web worker
mzur f118dcc
Fix web worker in dev environment
mzur 836ef00
Fix issue with config URL
mzur 8afd4a4
Tweak temporary style of LabelBOT annotations
mzur 8a78629
Update LabelBOT popup line on feature change
mzur 43bb3f9
Remove unused variable
mzur 4695392
Fix reset of interaction mode when it should not reset
mzur 8ca6b89
Fix vanishing temporary LabelBOT annotations
mzur 88130b3
Merge pull request #1207 from biigle/labelbot-refactor
mzur 8a49458
Fix closing of LabelBOT popup on annotation deletion
mzur 59e68ce
Optimize temporary LabelBOT canvas
mzur 11fd792
Reject new annotations while LabelBOT is initializing
mzur 0ae69a1
Fix keeping LabelBOT enabled on image switch
mzur 39e772a
Disable LabelBOT on tiled images
mzur 786d158
Initially highlight label 0 in LabelBOT popup
mzur 70f10e8
Use Backspace instead of Del for LabelBOT popup
mzur 58baa5b
Fix removal of keyboard shortcut listeners
mzur c445897
Implement LabelBOT popup events
mzur 1932b88
Fix handling of missing ONNX file for LabelBOT
mzur c835090
Fix cancel progress on mouseover over the first label
mzur 0292408
Implement labelbot.show_button config option
mzur 12092b4
Replace create index migration with console command
mzur f003953
Finish LabelBOT manual article
mzur 28914a8
Fix LabelBOT if user can't annotate
mzur 1882a8f
Acutally fic LabelBOT if user can't annotate
mzur 862ba39
Implement "Backquote" shortcut to toggle LabelBOT
mzur a55f825
Cancel LabelBOT timeout only after 250ms over popup
mzur f046f72
Improve contrast of LabelBOT popup progress bar
mzur 59ce560
Show LabelBOT progress bar only in focused popup
mzur aa50343
Fix keyboard codes listeners
mzur b521a28
Update LabelBOT popup grab area
mzur 67e45c1
Remove arrow shortcuts and improve attention detection in popup
mzur c6766ea
Improve LabelBOT popup grab area UI
mzur 35dd88c
Add Esc to leave LabelBOT popup typeahead
mzur dbd14fe
Improve LabelBOT button info text
mzur 6a43764
Ensure LabelBOT popup visibility at the edges of the viewport
mzur 38b7021
Implement limit for number of open LabelBOT popups
mzur 8b942a4
Add LabelBOT popup timeout settings
mzur 36e8dd1
Fix edge case in LabelBOT popup positioning
mzur 4ba6ade
Tweak LabelBOT manual article
mzur fa10535
Improve focus state between first label and typeahead
mzur 6715919
Improve labelbot:index-progress command
mzur 3acfd2b
Implement labelbot.ignore_label_trees config option
mzur 7b386cd
Move LabelBOT cache counter logic inside if branch
mzur 5a944ef
Only query labels if LabelBOT was used
mzur 998b32b
Tweak LabelBOT error behavior
mzur 9a9df37
Implement options for labelbot:create-index command
mzur 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
51 changes: 0 additions & 51 deletions
51
app/Http/Requests/StoreImageAnnotationLabelFeatureVector.php
This file was deleted.
Oops, something went wrong.
mzur marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.