-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Load decoder.onnx only when necessary #7564
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #7564 +/- ##
===========================================
- Coverage 83.52% 83.46% -0.07%
===========================================
Files 372 373 +1
Lines 39700 39742 +42
Branches 3729 3741 +12
===========================================
+ Hits 33159 33170 +11
- Misses 6541 6572 +31
|
cvat-ui/plugins/sam/src/ts/index.tsx
Outdated
clicks: composedClicks, | ||
tensor: plugin.data.embeddings.get(key) as Tensor, | ||
modelScale, | ||
maskInput: plugin.data.lowResMasks.has(key) ? |
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.
Also not the best solution, please look at efficientvit
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.
It is buggy when removing and optionally adding new points.
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.
Added logic with lastClicks
Motivation and context
How has this been tested?
Checklist
develop
branch(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)
License
Feel free to contact the maintainers if that's a concern.