Skip to content

onnx模型保留dropout,转换MNN时开启forTraining,模型加载时出现报错 #3966

@jarvisstark777

Description

@jarvisstark777

报错内容为:
Can't compute size for 21, name=/dropout/Dropout_output_0
Compute Shape Error for /dropout/Dropout_output_0
我们想要使用mnn进行模型训练,但是如果保留dropout块则无法正确加载模型,有大佬遇到过吗?要怎样解决

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions