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

dev(narugo): add quick gradio demo for classifiers/yolos #108

Merged
merged 5 commits into from
Sep 18, 2024
Merged

Conversation

narugo1992
Copy link
Contributor

@narugo1992 narugo1992 commented Sep 18, 2024

from imgutils.generic import YOLOModel, ClassifyModel

if __name__ == "__main__":
    # model = YOLOModel('deepghs/anime_head_detection')
    model = ClassifyModel('deepghs/anime_classification')
    model.launch_demo(server_port=7891)

@narugo1992 narugo1992 added the enhancement New feature or request label Sep 18, 2024
@narugo1992 narugo1992 self-assigned this Sep 18, 2024
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 23.07692% with 70 lines in your changes missing coverage. Please review.

Project coverage is 96.79%. Comparing base (7508461) to head (dbdba35).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
imgutils/generic/yolo.py 23.07% 40 Missing ⚠️
imgutils/generic/classify.py 23.07% 30 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
- Coverage   98.88%   96.79%   -2.09%     
==========================================
  Files         101      101              
  Lines        3217     3308      +91     
==========================================
+ Hits         3181     3202      +21     
- Misses         36      106      +70     
Flag Coverage Δ
unittests 96.79% <23.07%> (-2.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@narugo1992 narugo1992 merged commit 4d530a2 into main Sep 18, 2024
19 of 20 checks passed
@narugo1992 narugo1992 deleted the dev/gradio branch September 18, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant