Skip to content

Error when using cv.dnn.readNetFromDarknet function with OpenCV 4.2.0 version  #17166

@akshayjaryal603

Description

@akshayjaryal603
System information (version)

I encountered this issue when I use dnn library to read yolov4 cfg and weight file.

net = cv.dnn.readNetFromDarknet(FLAGS.config, FLAGS.weights)

cv2.error: OpenCV(4.2.0) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:686: error: (-212:Parsing error) Unsupported activation: mish in function 'ReadDarknetFromCfgStream'

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