dylanliuli
dylanliuli
看上去jumbo下安装成功了,但build依然会调Paddle下的bin:idl/paddle/Paddle/third_party/install/protobuf/bin/protoc 如何配置指定调用jumbo下的版本?
是使用paddle_internal_release_tools一键安装,自己替换了devlop版本。 清理了环境,用build.sh还是会调用Paddle下的protoc... 用上面手动方式,会报很多其他编译错误。。 make64[5]: *** [googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] 错误 1 make64[4]: *** [googlemock/gtest/CMakeFiles/gtest.dir/all] 错误 2
是参考了 #1283, 使用的是 icode: baidu/idl/paddle_internal_release_tools
是说用docker安装吗?没有sudo权限,内部用户安装devlop版有stepbystep说明么,环境问题困惑了好久。。。 初衷是为了cpu使用已发布的resnet model,除了使用devlop版本,还有其他途径吗? 其他tag版本的安装用一键安装都很方便。 btw,感谢周末还在帮忙解决问题
试了下,还是有很多编译问题。 make64[5]: *** [googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] 错误 1 make64[5]: *** [googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o] 错误 1 make64[5]: *** [googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o] 错误 1 make64[4]: *** [googlemock/CMakeFiles/gmock_main.dir/all] 错误 2
cc1plus: error: unrecognized command line option "-Wno-missing-field-initializers" make64[5]: *** [googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o] 错误 1 make64[4]: *** [googlemock/CMakeFiles/gmock.dir/all] 错误 2 make64[3]: *** [all] 错误 2 make64[2]: *** [../third_party/gtest/src/gtest-stamp/gtest-build] 错误 2 make64[1]: *** [CMakeFiles/gtest.dir/all]...
没明白,是说 extract_fea_py.sh -> swig_paddle-> py_paddle 有问题?
ok了,谢谢 @gangliao btw,解决方法:指定 -DPYTHON_LIBRARY=xxx/libpython2.7.a 重新编译
谢谢 @helinwang 想问的是如何在paddle中实现**第0步输入embedding 的图像特征**(tensorflow 实现如下code 1),然后结合word embedding(tensorflow 实现如下code 2) code 1: ``` lstm_cell = tf.contrib.rnn.BasicLSTMCell( num_units=self.config.num_lstm_units, state_is_tuple=True) if self.mode == "train": lstm_cell = tf.contrib.rnn.DropoutWrapper( lstm_cell, input_keep_prob=self.config.lstm_dropout_keep_prob, output_keep_prob=self.config.lstm_dropout_keep_prob) with tf.variable_scope("lstm", initializer=self.initializer)...
没有找到hack zero_state的方法,尝试用concat_layer的方式实现,  会报如下错误,尝试改为仅trg_word_embedding作为lstm输入(注释处)则不会出现,怀疑还是输入处理的不对,求教。 ``` I0320 20:38:16.725687 18466 GradientMachine.cpp:86] Initing parameters.. I0320 20:38:20.448544 18466 GradientMachine.cpp:93] Init parameters done. F0320 20:38:20.715349 18913 LstmLayer.cpp:155] Check failed: input.sequenceStartPositions F0F0303200 20:38:0:38:715353.715351 18918 :155155er] Check...