Skip to content

Retrained Mobilenet-SSD model that can get right results in caffe can't detect any object in OPENCV3.4 #10482

Closed

Description

@yiran-THU
System information (version)
  • OpenCV => 3.4.0
  • Operating System / Platform => Windows 10 64 Bit
  • Compiler => Visual Studio 2015
  • Cmake => 3.9.6
Detailed description

I retrained Mobilenet-SSD with my own data strictly follow this guidance,
Then I test my retrained model with python and caffe in ubuntu ,get the right detection result.

detectin

However, when I use the retrained model in OPENCV3.4(windows 10,vs2015), it can't detect any object.

test

Steps to reproduce

This is my python script used in caffe test.

This is the C++ script used in opencv test.

What do I have to solve this problem?

I am looking forward to your reply.
Thank you!
I have tested with different inScaleFactor 、meanVal 、RGB/grayscale 、 resize method , none of them can detect any object.

Activity

  1. changed the title [-]Retrained Mobilenet-SSD model that can get right results in caffe can't get right in OPENCV3.4[/-] [+]Retrained Mobilenet-SSD model that can get right results in caffe can't detect any object in OPENCV3.4[/+] on Jan 1, 2018
  2. dkurt commented on Jan 1, 2018

    @dkurt
    Member

    @yiran-THU, it's just a sample issue. You can use a newer python script or apply changes from #10483. Thanks!

  3. yiran-THU commented on Jan 2, 2018

    @yiran-THU
    Author

    @dkurt
    I have apply changes from #10483, it is working now.
    Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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