'tensor_desc' is not supported by the type of var RPC_CLIENT_VAR. at [/paddle/paddle/fluid/framework/var_desc.cc:243
Created by: xymyeah
File "trainer.py", line 238, in train_loop
fluid.io.save_persistables(exe, "./output/model/")
File "/usr/local/lib/python2.7/site-packages/paddle/fluid/io.py", line 152, in save_persistables
filename=filename)
File "/usr/local/lib/python2.7/site-packages/paddle/fluid/io.py", line 98, in save_vars
filename=filename)
File "/usr/local/lib/python2.7/site-packages/paddle/fluid/io.py", line 105, in save_vars
new_var = _clone_var_in_block_(save_block, each_var)
File "/usr/local/lib/python2.7/site-packages/paddle/fluid/io.py", line 59, in _clone_var_in_block_
shape=var.shape,
File "/usr/local/lib/python2.7/site-packages/paddle/fluid/framework.py", line 294, in shape
return tuple(self.desc.shape())
paddle.fluid.core.EnforceNotMet: Getting 'tensor_desc' is not supported by the type of var RPC_CLIENT_VAR. at [/paddle/paddle/fluid/framework/var_desc.cc:243]
PaddlePaddle Call Stacks:
0 0x7f4597063c56p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 486
1 0x7f45970d23dfp paddle::framework::VarDesc::tensor_desc() const + 191
2 0x7f45970d284cp paddle::framework::VarDesc::GetShape() const + 28
3 0x7f45970b6227p _ZZN8pybind1112cpp_function10initializeIZNS0_C1ISt6vectorIlSaIlEEN6paddle9framework7VarDescEIEINS_4nameENS_9is_methodENS_7siblingENS_19return_value_policyEEEEMT0_KFT_DpT1_EDpRKT2_EUlPKS8_E_S5_ISO_EIS9_SA_SB_SC_EEEvOSE_PFSD_SG_ESM_ENUlRNS_6detail13function_callEE1_4_FUNESV_ + 151
4 0x7f4597072864p pybind11::cpp_function::dispatcher(_object*, _object*, _object*) + 2596
5 0x7f4627331631p PyEval_EvalFrameEx + 24497
6 0x7f4627332bcep PyEval_EvalCodeEx + 2190
7 0x7f46272b07a1p
8 0x7f4627281273p PyObject_Call + 83
9 0x7f46272844acp PyObject_CallFunction + 172
10 0x7f46272cbfabp _PyObject_GenericGetAttrWithDict + 379
11 0x7f462732cbbap PyEval_EvalFrameEx + 5434
12 0x7f4627331560p PyEval_EvalFrameEx + 24288
13 0x7f4627332bcep PyEval_EvalCodeEx + 2190
14 0x7f462733120ap PyEval_EvalFrameEx + 23434
15 0x7f4627332bcep PyEval_EvalCodeEx + 2190
16 0x7f462733120ap PyEval_EvalFrameEx + 23434
17 0x7f4627332bcep PyEval_EvalCodeEx + 2190
18 0x7f462733120ap PyEval_EvalFrameEx + 23434
19 0x7f4627332bcep PyEval_EvalCodeEx + 2190
20 0x7f462733120ap PyEval_EvalFrameEx + 23434
21 0x7f4627332bcep PyEval_EvalCodeEx + 2190
22 0x7f462733120ap PyEval_EvalFrameEx + 23434
23 0x7f4627332bcep PyEval_EvalCodeEx + 2190
24 0x7f4627332ce2p PyEval_EvalCode + 50
25 0x7f46273529e0p PyRun_FileExFlags + 176
26 0x7f4627352bbfp PyRun_SimpleFileExFlags + 239
27 0x7f4627368454p Py_Main + 3188
28 0x7f462661ccddp __libc_start_main + 253
29 0x400649p