Skip to content

How to get correct yolo11n web model ? #1

@Paliking

Description

@Paliking

Hi,

thank you for your great project. I am facing an issue when I use my own yolo11n model. How did you create your yolo11n_web_model in this project?

When I create webmodel this way and place it to your project, then I get below error

my command to crete web model
yolo export model=yolo11n.pt format=tfjs

error after this javascript line from file App.jsx: const warmupResults = yolo.execute(dummyInput);
Error: Error in conv2d: depth of input (128) must match input depth for filter 1.

All is working fine if I use e.g. yolov8n created by this command:
yolo export model=yolov8n.pt format=tfjs

I tried combinatiosn of multiple versions of tensorflow and tensorflowjs, but nothing helped. Does it work for you guys?

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions