Caffe: how to run ssd on windows

Created on 30 Jun 2016  ·  13Comments  ·  Source: weiliu89/caffe

i want to run ssd on windows ,but it have many bugs, especal the detection_output_layer.cu file

Most helpful comment

To run SSD on Windows.

  1. create your own Windows base fork, BVLC/caffe/tree/windows (or Microsoft/caffe/tree/master)
  2. make a "New pull request" to merge the SSD files in your Windows fork
  3. add all new SSD source- and include files to Visual Studio
    (the "libcaffe" and "test_all" Project in Solution)
  4. add the Nuget package boost_regex-vc120.1.59.0.0
  5. fix Windows based errors

All 13 comments

It is likely due to the boost library. Unfortunately windows is not supported.

I am a reasearcher from china.I have the same problem.It's no problem that I was transplanted the Linux version of Caffe to windows.And If I want to transplant the ssd to windows,how can i do?can you give me some issues? Thank you!!!

SSD uses standard libraries required by Caffe. So it should be a very similar process.

To run SSD on Windows.

  1. create your own Windows base fork, BVLC/caffe/tree/windows (or Microsoft/caffe/tree/master)
  2. make a "New pull request" to merge the SSD files in your Windows fork
  3. add all new SSD source- and include files to Visual Studio
    (the "libcaffe" and "test_all" Project in Solution)
  4. add the Nuget package boost_regex-vc120.1.59.0.0
  5. fix Windows based errors

@conner99 I have parsed the trained 300x300 model successfully in the windows caffe,and the output shape is 1x1x200x7,but the result of confidence is not the same as that I get under SSD of Ununtu,otherwise,the rest results seems ok.Why~

Mudwall, will you give me some advice about running SSD on windows?
I have already run windows caffe(Microsoft),but i don’t know how to deal with windows SSD。
I will very appreciate if you response to me,thank you。

@Mudwall @conner99 I am trying to run SSD on windows, but The error is so many, And I can't solve all of the problem, Will you give some advice about running SSD on Windows?

@zhangyunming I met the same problem as you. Have you solved the problem?NVCC compile cu files with boost may lead to problems, I think.

@conner99 hi, have you compile ssd with cuda on windows successfully?

@conner99 when i build the libcaffe. i have many errors about the boost. so how do you solve the problem of nuget?can you share the 3rd party with us?

@123chengbo I have given it up because it has endless bugs~

@conner99 I can't find Nuget package boost_regex-vc120.1.59.0.0,can you help me?

It looks like most people complained about the boost_regex library? The only place that uses boost_regex is in DetectionOutputLayer when the output format is COCO. I will try to replace it with some more standard library. Or you guys could remove it yourself. Sorry for the troubles.

Was this page helpful?
0 / 5 - 0 ratings