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

Predict(image) no matching #86

Closed
NBarile opened this issue Nov 6, 2023 · 2 comments
Closed

Predict(image) no matching #86

NBarile opened this issue Nov 6, 2023 · 2 comments

Comments

@NBarile
Copy link

NBarile commented Nov 6, 2023

Hi,

I have this error, and I don't know how to resolve it.
image

It's my input image ? Or my model ? Or my Class ?
Here you can see my YoloClass for my Custom Detection

public record MyYolo : YoloModel
{
    public MyYolo()
        : base(640, 640, 3, 6, new int[] { 8, 16, 32 }, new int[][][]
        {
            new int[][]
            {
                new int[] { 10, 13 },
                new int[] { 16, 30 },
                new int[] { 33, 23 }
            },
            new int[][]
            {
                new int[] { 30, 61 },
                new int[] { 62, 45 },
                new int[] { 59, 119 }
            },
            new int[][]
            {
                new int[] { 116, 90 },
                new int[] { 156, 198 },
                new int[] { 373, 326 }
            }
        }, new int[] { 80, 40, 20 }, 0.2f, 0.25f, 0.45f, new string[] { "output" }, new List<YoloLabel>
        {
            new YoloLabel(0, "pointrouge"),
            new YoloLabel(1, "pointblanc")
        }, UseDetect: true)
    {
    }
}```

If you need more information, please ask me :p

Thanks !
@NBarile
Copy link
Author

NBarile commented Nov 6, 2023

I resolve my problem
I find the solution here : #75

@NBarile NBarile closed this as completed Nov 6, 2023
@DuranDurannn
Copy link

@NBarile Hi, may I know which part of the code that you needed to change? Im still quite new with C# and have no idea what I am suppose to do to resolve my issue.

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

No branches or pull requests

2 participants