本地训练时崩溃
Created by: fastback407
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py", line 85, in from paddle.proto.DataConfig_pb2 import DataConfig File "/usr/local/lib/python2.7/dist-packages/paddle/proto/init.py", line 15, in from paddle.proto.TrainerConfig_pb2 import OptimizationConfig, TrainerConfig File "/usr/local/lib/python2.7/dist-packages/paddle/proto/TrainerConfig_pb2.py", line 9, in from google.protobuf import symbol_database as _symbol_database File "/usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py", line 61, in from google.protobuf import descriptor_pool File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor_pool.py", line 65, in _USE_C_DESCRIPTORS = descriptor._USE_C_DESCRIPTORS # pylint: disable=protected-access AttributeError: 'module' object has no attribute '_USE_C_DESCRIPTORS' F0703 02:52:12.995499 9920 PythonUtil.cpp:186] Check failed: (module) != nullptr Current PYTHONPATH: ['/home/fastback/work/my_training/train/paddle_api_cmd_1_1_0_2/train/local/run_package', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client'] Python Error: <type 'exceptions.AttributeError'> : 'module' object has no attribute '_USE_C_DESCRIPTORS' Python Callstack: /usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py : 85 /usr/local/lib/python2.7/dist-packages/paddle/proto/init.py : 15 /usr/local/lib/python2.7/dist-packages/paddle/proto/TrainerConfig_pb2.py : 9 /usr/local/lib/python2.7/dist-packages/google/protobuf/symbol_database.py : 61 /usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor_pool.py : 65 Import paddle.trainer.config_parserError *** Check failure stack trace: *** @ 0x93ccdd google::LogMessage::Fail() @ 0x940825 google::LogMessage::SendToLog() @ 0x93c803 google::LogMessage::Flush() @ 0x941d3e google::LogMessageFatal::~LogMessageFatal() @ 0x8a2c8b paddle::py::import() @ 0x8a2cfe paddle::callPythonFuncRetPyObj() @ 0x8a30cc paddle::callPythonFunc() @ 0x7c2ed3 paddle::TrainerConfigHelper::TrainerConfigHelper() @ 0x7c3514 paddle::TrainerConfigHelper::createFromFlags() @ 0x601fe2 main @ 0x7f643c815f45 __libc_start_main @ 0x6110a9 (unknown) @ (nil) (unknown) 在之前版本的训练过程中没有问题,只是用新版的trainer替换了旧版的trainer