Skip to content
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

Merged
merged 8 commits into from
Mar 11, 2024
Merged

Load decoder.onnx only when necessary #7564

merged 8 commits into from
Mar 11, 2024

Conversation

klakhov
Copy link
Contributor

@klakhov klakhov commented Mar 7, 2024

Motivation and context

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@klakhov klakhov requested a review from bsekachev as a code owner March 7, 2024 15:03
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Merging #7564 (de1783e) into develop (b7470e1) will decrease coverage by 0.07%.
The diff coverage is 3.84%.

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     
Components Coverage Δ
cvat-ui 79.28% <3.84%> (-0.12%) ⬇️
cvat-server 87.31% <ø> (ø)

@klakhov klakhov requested a review from nmanovic as a code owner March 11, 2024 06:44
clicks: composedClicks,
tensor: plugin.data.embeddings.get(key) as Tensor,
modelScale,
maskInput: plugin.data.lowResMasks.has(key) ?
Copy link
Member

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

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added logic with lastClicks

@bsekachev bsekachev merged commit 95e6f26 into develop Mar 11, 2024
34 checks passed
@cvat-bot cvat-bot bot mentioned this pull request Mar 11, 2024
@bsekachev bsekachev deleted the kl/improve-sam branch March 15, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants