Skip to content

error when i run this line net = cv2.dnn.readNetFromTensorflow(weightsPath, configPath) #1

@hananeYS

Description

@hananeYS

hello, please this is my error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:2832: error: (-2:Unspecified error) Const input blob for weights not found in function 'cv::dnn::dnn4_v20220524::`anonymous-namespace'::TFImporter::getConstBlob'.

thanks a lot

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