deepjavalibrary / djl

An Engine-Agnostic Deep Learning Framework in Java
https://djl.ai
Apache License 2.0
4.16k stars 660 forks source link

[api] Visualize sam2 output for Sam2ServingTranslator #3494

Closed frankfliu closed 1 month ago

frankfliu commented 1 month ago

Description

Brief description of what this PR is about

codecov-commenter commented 1 month ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 63.97849% with 67 lines in your changes missing coverage. Please review.

Project coverage is 72.39%. Comparing base (b6656ed) to head (7020502). Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
.../modality/cv/translator/Sam2ServingTranslator.java 8.33% 33 Missing :warning:
.../ai/djl/modality/cv/translator/Sam2Translator.java 73.91% 14 Missing and 4 partials :warning:
...pencv/src/main/java/ai/djl/opencv/OpenCVImage.java 0.00% 11 Missing :warning:
...main/java/ai/djl/onnxruntime/engine/OrtEngine.java 33.33% 1 Missing and 1 partial :warning:
...ava/ai/djl/modality/cv/output/DetectedObjects.java 66.66% 0 Missing and 1 partial :warning:
.../modality/cv/translator/Sam2TranslatorFactory.java 75.00% 0 Missing and 1 partial :warning:
...pi/src/main/java/ai/djl/util/JsonSerializable.java 80.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3494 +/- ## ============================================ - Coverage 72.52% 72.39% -0.13% - Complexity 7394 7410 +16 ============================================ Files 672 674 +2 Lines 32909 33027 +118 Branches 3501 3516 +15 ============================================ + Hits 23868 23911 +43 - Misses 7400 7483 +83 + Partials 1641 1633 -8 ``` | [Flag](https://app.codecov.io/gh/deepjavalibrary/djl/pull/3494/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepjavalibrary) | Coverage Δ | | |---|---|---| | [](https://app.codecov.io/gh/deepjavalibrary/djl/pull/3494/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepjavalibrary) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepjavalibrary#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.