Open Jade999 opened 6 years ago
您好 请问 在跑您的这些代码时候 遇到这个问题是什么原因呢 /usr/bin/ld: cannot find -lhdf5_ser collect2: error: ld returned 1 exit status Makefile:565: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1
@PanHui100 你好,你这个看起来是caffe编译的问题吧, 我貌似没有碰到这个问题,不好意思
@PanHui100 ,有可能时Makefile.config这个文件没有配置好,你找到下面两句:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib
将其改为:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/hdf5/serial
希望能帮到你。
你好,感谢你的分享,训练好模型后,在对val集合进行预测时为什么需要把输入图像的crop_size设为513*513,我的理解是网络变为full conv后,对输入大小没有要求了,同样,在训练时网络的prototxt把输入crop_size设为了321。。。