Skip to content

dnn miss many tensorflow layer type #14683

@vonchenplus

Description

@vonchenplus

I'm using the readNetFromTensorflow to import a tensorflow pb frozen model. However, I get an error during forward:
Can't create layer "moments/StopGradient" of type "StopGradient"

and i found dnn miss many other tensorflow layer type,for example:
SquaredDifference
Power,
Pow,
RealDiv,
TanH

so, opencv have any plan to add these layers? Or how could I remove this as this is not used in the network any longer after training.

thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions