Skip to content

大佬,yolov5m无法运行 #1

@rmwaring

Description

@rmwaring

我使用最新的yolov5m.pt转换成wts格式后,可以成功编译,但是无法生成引擎
出现了如下错误:

Loading weights: ./yolov5m.wts
yolov5-m2: ../yolov5-m2/common.hpp:128:std::map<std::__cxx11::basic_string<char>, nvinfer1::Weights> loadWeights(std::__cxx11::string): 假设 ‘input.is_open() && "Unable to load weight file."’ 失败。
程序异常结束。

我之前使用wangxinyu的yolov5s可以成功生成引擎,应该不是环境问题吧?
我对比了我们的运行环境,是一致的。
感谢您的帮助

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