Skip to content

dropout算子的输出设置缺少"Mask" #1927

@rbtrenbingtan

Description

@rbtrenbingtan

在使用预训练的ppocrv4-mobile-rec模型进行自动化压缩的时候,正常运行;
在上述预训练模型的基础上训练后,进行自动化压缩,报错:
ValueError: Incorrect setting for output(s) of operator "dropout", should set: [Mask].
查看模型结构后发现自己训练的模型没有Mask输出,因此无法使用自动化压缩。
这应该是模型导出这一步的问题,请问应该怎么设置才能输出呢

Image

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