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

C# version #11

Open
mapo80 opened this issue Mar 26, 2024 · 6 comments
Open

C# version #11

mapo80 opened this issue Mar 26, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@mapo80
Copy link

mapo80 commented Mar 26, 2024

Hi,

is it possible to have a C# version for .Net user?

Thanks

@jason-li-831202
Copy link
Owner

I currently have no plans to develop a C# version, but perhaps you can replace the model with a C# version provided in the repositories of yolov5/6/7. This is because the output format after converting to ONNX in the YOLO-NAS architecture of this project is the same as theirs.

@SuicunesLesson
Copy link

C# is usually already in the Visual Studio.

@mapo80
Copy link
Author

mapo80 commented Mar 27, 2024

@jason-li-831202 I've seen that the output of Yolo NAS is different from Yolo V8, so can't be used the implementation provided for yolov5/6/7.

@SuicunesLesson C# is programming language

@jason-li-831202
Copy link
Owner

@mapo80
The output of yolov5/6/7 is different from yolov8/9 : #9 (comment)

I think, you can try using the following repositories.
https://github.com/techwingslab/yolov5-net

@jason-li-831202
Copy link
Owner

Hi @mapo80, I successfully run yolo-nas onnx model in the https://github.com/techwingslab/yolov5-net repository.

And you need to rewrite the following code :
https://github.com/techwingslab/yolov5-net/blob/7ad2924c1e0c93d7d2306784e239306943229503/src/Yolov5Net.Scorer/Models/YoloCocoP5Model.cs#L27C1-L27C24
Replace with the following line :

-> new[] { "outputs" },

@jason-li-831202 jason-li-831202 pinned this issue Mar 27, 2024
@jason-li-831202 jason-li-831202 unpinned this issue Mar 27, 2024
@jason-li-831202 jason-li-831202 added the enhancement New feature or request label Mar 27, 2024
@mapo80
Copy link
Author

mapo80 commented Apr 11, 2024

@jason-li-831202 Great info! Thanks

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

No branches or pull requests

3 participants