hszhao / PSPNet

Pyramid Scene Parsing Network, CVPR2017.
https://hszhao.github.io/projects/pspnet
Other
1.59k stars 545 forks source link

Build PSP with c++ and visual studio on Window #75

Open ThienAnh opened 6 years ago

ThienAnh commented 6 years ago

Dear @hszhao

I try to build PSP with c++ , visual studio 2015. But i alway get wrong result. const float* output_data = output_layer->cpu_data();

output_data has big value: 14099009.23. (I had write output_data in python on ubuntu, value is small:~ 1.45.....)

Can you suggess for me solution to fix it.

Thank so much

ThienAnh commented 6 years ago

Different results in different runs with same inputs?

Who can help me?

cobbwho commented 5 years ago

Hi, I have build pspnet too, then i got caffe.dll for vs2015 project. How do you use pspnet(c++) in vs2015 project for image segmentation ? I'm confused about it . Thank you . I solved this probleam by using your code of prediction.