`models/fluid/neural_machine_translation/transformer/train.py` doesn't work well.
Created by: gongweibao
Traceback (most recent call last):
File "train.py", line 190, in <module>
main()
File "train.py", line 175, in main
use_program_cache=True)
File "/paddle/python/paddle/fluid/executor.py", line 373, in run
self.executor.run(program.desc, scope, 0, True, True)
paddle.fluid.core.EnforceNotMet: enforce ids_dims.size() == 2 failed, 1 != 2
at [/paddle/paddle/fluid/operators/lookup_table_op.cc:43]
PaddlePaddle Call Stacks:
0 0x7f4db200c89cp paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 572
1 0x7f4db288db05p paddle::operators::LookupTableOp::InferShape(paddle::framework::InferShapeContext*) const + 1493
2 0x7f4db2d9fb95p paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, boost::variant<paddle::platform::CUDAPlace, paddle::platform::CPUPlace, 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_, boost::detail::variant::void_> const&) const + 2213