CasonTsai / MaskRcnn_tensorflow_cpp_inference

inference mask_rcnn model with tensorflow c++ api
MIT License
46 stars 10 forks source link

Could you please give me some suggestions about building such environment? #2

Open rainylt opened 4 years ago

rainylt commented 4 years ago

I downloaded your code, but I don`t know how to run this demo for I am unfamiliar with cpp. I have installed vs2015, qt 5.8.0,cuda, opencv, and downloaded the tensorflow library from given link, but how can I import these libraries into vs2015?

First I have build an empty QT application in vs2015, secondly I import these code into it. Then I modified the property sheet to include these library. But when I try to compile the code, VS2015 raised many error in some strange library such as "tensor_shape.h"(in the "外部依赖项")?

Could you please show me the process of building such environment? (Chinese is ok 博客链接什么的都可以)

CasonTsai commented 4 years ago

@lt1103725556 https://blog.csdn.net/qq_33671888/article/details/89254537

rainylt commented 4 years ago

@lt1103725556 https://blog.csdn.net/qq_33671888/article/details/89254537

Thanks a lot!

HKun1997 commented 4 years ago

@CasonTsai I have seen your csdn blog, but I'm still confused about how to build environment. Would you like to give me some tricks to import tensorflow library in C++ environment?

CasonTsai commented 4 years ago

i am sorry for be so late to apply you beacasue of the busy work. You could use mvsc2015 to build the C++ environment . 1 you should have mvsc2015 compiler(in the windows),in the blog i use qt ide with msvc2015 x64. 2 you should get the tensorflow c++ library ,the download link is in the blog,choose the vesion you want or follow my version. 3 the last,you just need to config the include path and lib path .you could see my qt.pro in that blog

At 2020-05-07 19:58:43, "HKun1997" notifications@github.com wrote:

@CasonTsai I have seen your csdn blog, but I'm still confused about how to build environment. Would you like to give me some tricks to import tensorflow library in C++ environment?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

HKun1997 commented 4 years ago

i am sorry for be so late to apply you beacasue of the busy work. You could use mvsc2015 to build the C++ environment . 1 you should have mvsc2015 compiler(in the windows),in the blog i use qt ide with msvc2015 x64. 2 you should get the tensorflow c++ library ,the download link is in the blog,choose the vesion you want or follow my version. 3 the last,you just need to config the include path and lib path .you could see my qt.pro in that blog At 2020-05-07 19:58:43, "HKun1997" notifications@github.com wrote: @CasonTsai I have seen your csdn blog, but I'm still confused about how to build environment. Would you like to give me some tricks to import tensorflow library in C++ environment? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks a lot!!!I‘ll try it.