Skip to content

Can no longer load yahoo nsfw resnet model in 3.4.0 release #10530

@TechnikEmpire

Description

@TechnikEmpire
System information (version)
  • OpenCV => 3.4.0
  • Operating System / Platform => Windows 10
  • Compiler => MSVC 2017
Detailed description

Used to be able to load and use this model.

Since 3.4.0 release, fails with:

OpenCV Error: Unspecified error (FAILED: ReadProtoFromBinaryFile(param_file, param). Failed to parse NetParameter file: resnet_50_1by2_nsfw_new.caffemodel) in cv::dnn::ReadNetParamsFromBinaryFileOrDie, file C:\dev\lib\opencv-3.4.0\modules\dnn\src\caffe\caffe_io.cpp, line 1159
Steps to reproduce

Use DNN module to load the above linked module. It'll fail to load. Worked fine before 3.4.0. Just to be sure, rebuilt 3.3.1 from source just now and it does function in 3.3.1 but not 3.4.0 from release source.

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