Skip to content

Add YOLOv5 integration - #5

Merged
xyrrrrrrrr merged 7 commits into
devfrom
yolo-dev
Feb 22, 2023
Merged

Add YOLOv5 integration#5
xyrrrrrrrr merged 7 commits into
devfrom
yolo-dev

Conversation

@xyrrrrrrrr

Copy link
Copy Markdown
Collaborator

yolo-unipose, which is a pre-processing tool, is used to to get the main creature in the image, judge its kind, and then return the bounding box of the creature.

@fanqiNO1

Copy link
Copy Markdown
Collaborator

Good job! You can add a pytest script to show that your module works.

@fanqiNO1 fanqiNO1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think there is no obvious problem.

@Gennadiyev Gennadiyev changed the title Add yolo-unipose Add YOLOv5 integration Feb 17, 2023
@Gennadiyev Gennadiyev added this to the YOLO Integration milestone Feb 17, 2023

@Gennadiyev Gennadiyev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Quite a lot of revamps or explanations needed. I believe the sub-branch will work as-is, but I'd really like to trim the repo down a bit.

Also, I found that this YOLO implementation contains a lot of GPL-licensed code. This may infringe our MIT license.

Comment thread unipose/yolo/README.md Outdated
@@ -0,0 +1,19 @@
# Yolo_unipose

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested changes, see #6

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I see. And I will improved code quality in my future work.

Comment thread unipose/yolo/__init__.py
@@ -0,0 +1,8 @@
"""Implements UniPose model.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Change to YOLO-related implementation.

Wait I don't think you implemented UniPose model in this file...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I see.

Comment thread unipose/yolo/__init__.py
from .yolo_unipose import yolo_unipose


__all__ = ["yolo_unipose"] No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Add newline \n to end of file.

Comment thread unipose/yolo/export.py
@@ -0,0 +1,653 @@
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license
"""
Export a YOLOv5 PyTorch model to other formats. TensorFlow exports authored by https://github.com/zldrobit

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We do not need an export feature. Should be removed or re-factored.

@@ -0,0 +1,649 @@
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Unipose convention is to use layers.py instead.

@xyrrrrrrrr
xyrrrrrrrr merged commit 94a5a5e into dev Feb 22, 2023
@Gennadiyev

Copy link
Copy Markdown
Owner

The merge is quite a shortcut and sooner than it should be. Since #4 requires YOLO urgently for data preprocessing, automated annotation and such, this pull request is merged at a pre-mature state. More YOLO-related patches will come to dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants