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

Remove the YOLOv5 dependency from the YOLOv7 serverless function #6619

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Aug 4, 2023

Motivation and context

For some reason, the YOLOv7 function uses ultralytics/yolov5 as the base image, despite not depending on YOLOv5 in any way. Replace it with generic base images.

How has this been tested?

Manual testing.

Checklist

  • I submit my changes into the develop branch
  • [ ] I have added a description of my changes into the CHANGELOG file
  • [ ] 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.

For some reason, the YOLOv7 function uses `ultralytics/yolov5` as the base image,
despite not depending on YOLOv5 in any way. Replace it with generic base images.
@sizov-kirill
Copy link
Contributor

I have tested this PR on GPU, it works fine.

@SpecLad
Copy link
Contributor Author

SpecLad commented Aug 7, 2023

@kirill-sizov Thanks!

@SpecLad SpecLad marked this pull request as ready for review August 7, 2023 11:14
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #6619 (48e2c83) into develop (1c0a49f) will decrease coverage by 0.01%.
Report is 3 commits behind head on develop.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #6619      +/-   ##
===========================================
- Coverage    81.25%   81.25%   -0.01%     
===========================================
  Files          368      368              
  Lines        39813    39813              
  Branches      3557     3557              
===========================================
- Hits         32352    32351       -1     
- Misses        7461     7462       +1     
Components Coverage Δ
cvat-ui 74.93% <ø> (ø)
cvat-server 86.79% <ø> (-0.01%) ⬇️

@SpecLad SpecLad merged commit a8e921b into cvat-ai:develop Aug 7, 2023
43 checks passed
@SpecLad SpecLad deleted the yolov7-rm-ultralytics branch August 7, 2023 15:59
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Oct 25, 2023
…t-ai#6619)

For some reason, the YOLOv7 function uses `ultralytics/yolov5` as the
base image, despite not depending on YOLOv5 in any way. Replace it with
generic base images.
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