Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

训练出core

Open sshilei opened this issue 7 years ago • 0 comments

terminate called after throwing an instance of 'paddle::platform::EnforceNotMet' what(): Invoke operator lookup_table error. Python Callstacks: File "/home/map/program/paddlepaddle/bin/incubator/cpu/1.4.1/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/framework.py", line 1654, in append_op attrs=kwargs.get("attrs", None)) File "/home/map/program/paddlepaddle/bin/incubator/cpu/1.4.1/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/layer_helper.py", line 43, in append_op return self.main_program.current_block().append_op(args, kwargs) File "/home/map/program/paddlepaddle/bin/incubator/cpu/1.4.1/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/layers/nn.py", line 403, in embedding 'padding_idx': padding_idx File "/home/map/seresource/code/paddle-frame/baidu/mapsearch/paddle-frame/nets/simnet.py", line 94, in emb_lookup_fn is_sparse=True) File "/home/map/seresource/code/paddle-frame/baidu/mapsearch/paddle-frame/nets/simnet.py", line 106, in emb_lookup_fn FLAGS.emb_lr) File "/home/map/seresource/code/paddle-frame/baidu/mapsearch/paddle-frame/nets/simnet.py", line 375, in net emb_output = self.emb_lookup_fn(FLAGS, inputs) File "/home/map/seresource/code/paddle-frame/baidu/mapsearch/paddle-frame/frame/core/base_trainer.py", line 242, in start net_output = factory['net'].net(FLAGS, factory["inputs"]) File "/home/map/seresource/code/paddle-frame/baidu/mapsearch/paddle-frame/frame/scheduler/../..//frame/core/local_cpu_trainer.py", line 150, in ret = trainer.start(sys.argv) C++ Callstacks: holder should not be null Tensor not initialized yet when Tensor::type() is called. at [/paddle/paddle/fluid/framework/tensor.h:146] PaddlePaddle Call Stacks: 0 0x7f2e798f0335p void paddle::platform::EnforceNotMet::Initstd::string(std::string, char const, int) + 357 1 0x7f2e798f0692p paddle::platform::EnforceNotMet::EnforceNotMet(std::string const&, char const, int) + 82 2 0x7f2e798f0cb5p paddle::framework::Tensor::type() const + 101 3 0x7f2e7a9cdf1dp paddle::framework::GetDataTypeOfVar(paddle::framework::Variable const) + 141 4 0x7f2e7a0334adp paddle::operators::LookupTableOp::GetExpectedKernelType(paddle::framework::ExecutionContext const&) const + 61 5 0x7f2e7a9d1b74p paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace, paddle::platform::CUDAPinnedPlace, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> const&, paddle::framework::RuntimeContext*) const + 244 6 0x7f2e7a9d2804p paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace, paddle::platform::CUDAPinnedPlace, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> const&) const + 292 7 0x7f2e7a9d0a20p paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace, paddle::platform::CUDAPinnedPlace, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> const&) + 240 8 0x7f2e79a6a81ep paddle::framework::HogwildWorker::TrainFilesWithProfiler() + 1614 9 0x7f2ecc5c18a0p 10 0x7f2ed9dce1c3p 11 0x7f2ed93f612dp clone + 109

*** Aborted at 1563785300 (unix time) try "date -d @1563785300" if you are using GNU date *** PC: @ 0x0 (unknown) *** SIGABRT (@0x1f700015b1b) received by PID 88859 (TID 0x7f2e93707700) from PID 88859; stack trace: *** @ 0x7f2ed9dd6160 (unknown) @ 0x7f2ed93443f7 __GI_raise @ 0x7f2ed93457d8 __GI_abort terminate called recursively @ 0x7f2ecc570c65 __gnu_cxx::__verbose_terminate_handler() @ 0x7f2ecc56ee06 __cxxabiv1::__terminate() @ 0x7f2ecc56ee33 std::terminate() @ 0x7f2ecc5c1935 execute_native_thread_routine @ 0x7f2ed9dce1c3 start_thread @ 0x7f2ed93f612d __clone @ 0x0 (unknown) W0722 16:48:20.075947 89029 init.cc:161] AVX is available, Please re-compile on local machine W0722 16:48:20.099175 89035 init.cc:161] AVX is available, Please re-compile on local machine W0722 16:48:20.099606 89032 init.cc:161] AVX is available, Please re-compile on local machine Traceback (most recent call last): File "./frame/core/train_reader_1.py", line 229, in pairwise_reader.run_from_stdin() File "/home/map/program/paddlepaddle/bin/incubator/cpu/1.4.1/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/incubate/data_generator/init.py", line 135, in run_from_stdin sys.stdout.write(self._gen_str(sample)) IOError: [Errno 32] Broken pipe Traceback (most recent call last):

sshilei avatar Jul 22 '19 08:07 sshilei