Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #345

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 11月 04, 2016 by saxon_zh@saxon_zhGuest

Mac上paddle安装成功后执行时报段错误

Created by: 5idaidai

运行demo中sentiment的例子,报一下错误:

I1104 10:38:17.781116 2008993792 Util.cpp:130] Calling runInitFunctions
I1104 10:38:17.781256 2008993792 Util.cpp:143] Call runInitFunctions done.
[INFO 2016-11-04 10:38:17,889 networks.py:1282] The input order is [word, label]
[INFO 2016-11-04 10:38:17,889 networks.py:1289] The output order is [__cost_0__]
I1104 10:38:17.891353 2008993792 Trainer.cpp:170] trainer mode: Normal
*** Aborted at 1478227097 (unix time) try "date -d @1478227097" if you are using GNU date ***
PC: @        0x10edc27f8 paddle::Weight::Weight()
*** SIGSEGV (@0xa0) received by PID 9930 (TID 0x7fff77bed000) stack trace: ***
    @     0x7fff856ffeaa _sigtramp
    @                0x0 (unknown)
    @        0x10eb9bbcd paddle::TableProjection::TableProjection()
    @        0x10eb9c29e _ZNSt3__128__invoke_void_return_wrapperIPN6paddle10ProjectionEE6__callIJRZNS1_14ClassRegistrarIS2_JNS1_16ProjectionConfigENS_10shared_ptrINS1_9ParameterEEEbEE13registerClassINS1_15TableProjectionEEEvRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEUlS7_SA_bE_S7_SA_bEEES3_DpOT_
    @        0x10eb9c20d _ZNSt3__110__function6__funcIZN6paddle14ClassRegistrarINS2_10ProjectionEJNS2_16ProjectionConfigENS_10shared_ptrINS2_9ParameterEEEbEE13registerClassINS2_15TableProjectionEEEvRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEUlS5_S8_bE_NSF_ISK_EEFPS4_S5_S8_bEEclEOS5_OS8_Ob
    @        0x10ebac7ef _ZN6paddle14ClassRegistrarINS_10ProjectionEJNS_16ProjectionConfigENSt3__110shared_ptrINS_9ParameterEEEbEE12createByTypeERKNS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES2_S6_b
    @        0x10ebac66d paddle::Projection::create()
    @        0x10ebb60d8 paddle::MixedLayer::init()
    @        0x10ec12242 paddle::NeuralNetwork::init()
    @        0x10ec18a83 paddle::MultiGradientMachine::MultiGradientMachine()
    @        0x10ec2017e paddle::GradientMachine::create()
    @        0x10ec9ae46 paddle::TrainerInternal::init()
    @        0x10ec96be7 paddle::Trainer::init()
    @        0x10eb93d1b main
    @     0x7fff940e95ad start
    @                0xb (unknown)
/Users/baidu/local/bin/paddle: line 81:  9930 Segmentation fault: 11  ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer ${@:2}

利用gdb调试得到的信息:

I1104 10:37:35.910127 2008993792 Util.cpp:155] commandline: /Users/baidu/local/opt/paddle/bin/paddle_trainer --config=trainer_config.py --save_dir=./model_output --job=train --use_gpu=false --trainer_count=4 --num_passes=10 --log_period=10 --dot_period=20 --show_parameter_stats_period=100 --test_all_data_in_one_period=1
I1104 10:37:35.910747 2008993792 Util.cpp:130] Calling runInitFunctions
I1104 10:37:35.910902 2008993792 Util.cpp:143] Call runInitFunctions done.
[New Thread 0x1913 of process 9904]
[INFO 2016-11-04 10:37:36,410 networks.py:1282] The input order is [word, label]
[INFO 2016-11-04 10:37:36,410 networks.py:1289] The output order is [__cost_0__]
I1104 10:37:36.412492 2008993792 Trainer.cpp:170] trainer mode: Normal

Thread 1 received signal SIGSEGV, Segmentation fault.
paddle::Weight::Weight (this=0x107a6af70, height=0, width=128, param=...) at /Users/baidu/codehub/Paddle/paddle/parameter/Weight.cpp:21
21	  VectorPtr vPtr = param->getBuf(PARAMETER_VALUE);

make test 发现一些单测过不了:

The following tests FAILED:
	 22 - test_PyDataProvider (Failed)
	 24 - test_RecurrentGradientMachine (Failed)
	 25 - test_NetworkCompare (Failed)
	 26 - test_PyDataProvider2 (Failed)
	 30 - test_Prediction (Failed)
	 31 - test_Compare (Failed)
	 32 - test_Trainer (Failed)
	 33 - test_TrainerOnePass (Failed)
	 34 - test_CompareTwoNets (Failed)
	 35 - test_CompareTwoOpts (Failed)
	 36 - test_CompareSparse (Failed)
	 37 - test_recurrent_machine_generation (Failed)
	 38 - test_PyDataProviderWrapper (Failed)
	 39 - test_config_parser (Failed)
	 40 - test_swig_api (Failed)
	 41 - layers_test (Failed)
	 42 - test_layerHelpers (Failed)
Errors while running CTest
make: *** [test] Error 8
指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#345
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7