Skip to content

Error When Loading the yolov5s.pt #19

@SuLi8

Description

@SuLi8

I replaced this line in the main.dart of the example program
String pathCustomModel = "assets/models/yolov5s.pt";

After compiling and running on the IOS emulator, an error is reported:
[enforce fail at inline_container.cc:222] . file not found: archive/constants.pkl

It seems that yolov5s.pt is not loaded correctly
yolov5s.pt has been verified to be OK.
I would like to know how to solve this problem

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