caffe icon indicating copy to clipboard operation
caffe copied to clipboard

how to run ssd on windows

Open zhangyunming opened this issue 10 years ago • 13 comments

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

zhangyunming avatar Jun 30 '16 02:06 zhangyunming

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

weiliu89 avatar Jun 30 '16 02:06 weiliu89

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!!!

lqs19881030 avatar Jun 30 '16 03:06 lqs19881030

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

weiliu89 avatar Jun 30 '16 03:06 weiliu89

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 avatar Jul 06 '16 13:07 conner99

@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 avatar Jul 07 '16 03:07 Mudwall

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。

123chengbo avatar Sep 02 '16 07:09 123chengbo

@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?

stevewusin avatar Sep 06 '16 02:09 stevewusin

@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.

jianan86 avatar Sep 18 '16 04:09 jianan86

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

jianan86 avatar Sep 18 '16 04:09 jianan86

@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?

Lvhhhh avatar Nov 11 '16 02:11 Lvhhhh

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

Mudwall avatar Nov 11 '16 02:11 Mudwall

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

zhubuntu avatar Nov 24 '16 13:11 zhubuntu

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.

weiliu89 avatar Nov 29 '16 09:11 weiliu89