Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRF demo Core 了,什么问题? #459

Closed
VamWolf opened this issue Nov 14, 2016 · 3 comments
Closed

CRF demo Core 了,什么问题? #459

VamWolf opened this issue Nov 14, 2016 · 3 comments
Assignees

Comments

@VamWolf
Copy link

VamWolf commented Nov 14, 2016

I1114 14:26:55.183913 25598 Util.cpp:138] commandline: /home/work/sunkai/paddle2nd/baidu/idl/install_dir/bin/../opt/paddle/bin/paddle_trainer --config rnn_crf.py --parallel_nn=1 --use_gpu=1 --dot_period=10 --log_period=1000 --test_period=0 --num_passes=10
I1114 14:26:55.184221 25598 Util.cpp:113] Calling runInitFunctions
I1114 14:26:55.184581 25598 Util.cpp:126] Call runInitFunctions done.
Traceback (most recent call last):
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer/config_parser.py", line 3130, in parse_config_and_serialize
config = parse_config(config_file, config_arg_str)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer/config_parser.py", line 3106, in parse_config
execfile(config_file, make_config_environment(config_file, config_args))
File "rnn_crf.py", line 32, in
learning_rate_decay_b = 0.5,
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer_config_helpers/default_decorators.py", line 45, in wrapper
return func(*args, **kwargs)
File "/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer_config_helpers/default_decorators.py", line 45, in wrapper
return func(*args, **kwargs)
TypeError: settings() got an unexpected keyword argument 'learning_rate_decay_a'
F1114 14:26:55.435573 25598 PythonUtil.cpp:130] Check failed: (ret) != nullptr Python Error: <type 'exceptions.TypeError'> : settings() got an unexpected keyword argument 'learning_rate_decay_a'
Python Callstack:
/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer/config_parser.py : 3130
/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer/config_parser.py : 3106
rnn_crf.py : 32
/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer_config_helpers/default_decorators.py : 45
/home/work/.jumbo/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/paddle/trainer_config_helpers/default_decorators.py : 45
Call Object failed.
*** Check failure stack trace: ***
@ 0x7fc1fdfc26ed google::LogMessage::Fail()
@ 0x7fc1fdfc6e50 google::LogMessage::SendToLog()
@ 0x7fc1fdfc3217 google::LogMessage::Flush()
@ 0x7fc1fdfc3476 google::LogMessageFatal::~LogMessageFatal()
@ 0x7bd9c7 paddle::callPythonFuncRetPyObj()
@ 0x7bdd2c paddle::callPythonFunc()
@ 0x6f0f93 paddle::TrainerConfigHelper::TrainerConfigHelper()
@ 0x6f15d4 paddle::TrainerConfigHelper::createFromFlags()
@ 0x5405b3 main
@ 0x7fc1fc6dabd5 __libc_start_main
@ 0x54bf15 (unknown)
/home/work/sunkai/paddle2nd/baidu/idl/install_dir/bin/paddle: line 81: 25598 Aborted (core dumped) ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer

@hedaoyuan
Copy link
Contributor

把配置文件贴一下。

TypeError: settings() got an unexpected keyword argument 'learning_rate_decay_a'
F1114 14:26:55.435573 25598 PythonUtil.cpp:130] Check failed: (ret) != nullptr Python Error: <type

@VamWolf
Copy link
Author

VamWolf commented Nov 14, 2016

demo 里面的配置.

@qingqing01
Copy link
Contributor

@VamWolf

TypeError: settings() got an unexpected keyword argument 'learning_rate_decay_a'

看着是你的paddle安装较老。 pip uninstall paddle 再试试。

@qingqing01 qingqing01 self-assigned this Nov 14, 2016
@luotao1 luotao1 closed this as completed Dec 1, 2016
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this issue Sep 25, 2019
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this issue Sep 25, 2019
* add_api_cn (PaddlePaddle#437)

* add gpu benchmark page (PaddlePaddle#436)

* add gpu benchmark

* fix comments

* add chinese link in gen_doc.py (PaddlePaddle#439)

* modified gen_doc.py

* Update gen_doc.py

* update gen_doc.py

* Update mobile doc (PaddlePaddle#440)

* update_en_structure

* update_Paddle_commitid

* delete_DS

* update_mobile_doc

* Update book commit (PaddlePaddle#438)

* update_en_structure

* update_Paddle_commitid

* delete_DS

* update_book_commit_id

* update_api_rst

* Adjust structure of advanced usage (PaddlePaddle#442)

* adjust_structure_of_advanced_usage

* Update paddle_gpu_benchmark.md

* adjust_toctree_hidden

* fix_api_guide

* Update index.rst

* fix deadlinkes (PaddlePaddle#443)

* add_toctree (PaddlePaddle#445)

* adjust_beginners_structure (PaddlePaddle#446)

* adjust_beginners_structure

* Update index.rst

* update install_doc for python3 (PaddlePaddle#418)

* update install_doc for python3

* update python3.5+ info,test=develop

* fix review, test=develop

* fix_pic (PaddlePaddle#447)

* delete en2zn link

* update lod_tensor

* 1207

 1.english api reference links removed
2. formatted

* update transpiler

* update profilse_cn

* Update docker-image instroduce, test=develop (PaddlePaddle#459)

* fix_bug (PaddlePaddle#460)

* [cp2dev]Add avx info 1.1 (PaddlePaddle#279) (PaddlePaddle#451)

* Add avx info 1.1 (PaddlePaddle#279)

* refine avx info representation

* refine avx info representation

* refine avx info representation

* updatetoavx

* fix_AVX

* update_en_api (PaddlePaddle#461)

* update api guides for cn (PaddlePaddle#462)

* Update commit_id of Paddle (PaddlePaddle#463)

* update_en_api

* update_again

* Fix bug (PaddlePaddle#465)

* update_en_api

* update_again

* bug_fix

* fix_2nd
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this issue Sep 25, 2019
* add_api_cn (PaddlePaddle#437)

* add gpu benchmark page (PaddlePaddle#436)

* add gpu benchmark

* fix comments

* add chinese link in gen_doc.py (PaddlePaddle#439)

* modified gen_doc.py

* Update gen_doc.py

* update gen_doc.py

* Update mobile doc (PaddlePaddle#440)

* update_en_structure

* update_Paddle_commitid

* delete_DS

* update_mobile_doc

* Update book commit (PaddlePaddle#438)

* update_en_structure

* update_Paddle_commitid

* delete_DS

* update_book_commit_id

* update_api_rst

* Adjust structure of advanced usage (PaddlePaddle#442)

* adjust_structure_of_advanced_usage

* Update paddle_gpu_benchmark.md

* adjust_toctree_hidden

* fix_api_guide

* Update index.rst

* fix deadlinkes (PaddlePaddle#443)

* add_toctree (PaddlePaddle#445)

* adjust_beginners_structure (PaddlePaddle#446)

* adjust_beginners_structure

* Update index.rst

* update install_doc for python3 (PaddlePaddle#418)

* update install_doc for python3

* update python3.5+ info,test=develop

* fix review, test=develop

* fix_pic (PaddlePaddle#447)

* delete en2zn link

* update lod_tensor

* 1207

 1.english api reference links removed
2. formatted

* update transpiler

* update profilse_cn

* Update docker-image instroduce, test=develop (PaddlePaddle#459)

* fix_bug (PaddlePaddle#460)

* [cp2dev]Add avx info 1.1 (PaddlePaddle#279) (PaddlePaddle#451)

* Add avx info 1.1 (PaddlePaddle#279)

* refine avx info representation

* refine avx info representation

* refine avx info representation

* updatetoavx

* fix_AVX

* update_en_api (PaddlePaddle#461)

* update api guides for cn (PaddlePaddle#462)

* Update commit_id of Paddle (PaddlePaddle#463)

* update_en_api

* update_again

* Fix bug (PaddlePaddle#465)

* update_en_api

* update_again

* bug_fix

* fix_2nd

* add_release_note
thisjiang added a commit to thisjiang/Paddle that referenced this issue Oct 28, 2021
* ad op mapper and add sigmoid register example

* remove useless code

* add single test script

* fix some porblem by review advice

* change name from OpMapperKernel to OpMapper
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this issue Dec 9, 2021
AnnaTrainingG pushed a commit to AnnaTrainingG/Paddle that referenced this issue Sep 19, 2022
* fix benchmark

* add fomm and stylegan benchmark

* fix version of imageio

* add copyright of psgan, test=document_fix
wwbitejotunn pushed a commit to wwbitejotunn/Paddle that referenced this issue Jun 21, 2024
…ePaddle#459 (PaddlePaddle#461)

* uneql rank.

* trim.

* enable passing in number of heads for each rank.

* simplify.

* simplify.

* cleanup.

* fix col parallel.

* fix bug with row parallel.

* fit out proj.

* refac.

* fix sharding logic.

* refac sharding.

* refac.

* support multiple of.

* make fn reuseable.

* fix bug in dimensions.

* scaffold.

* test uneven heads.

* fix test by adding barrier.

* refac.

* reuse code.

* clean up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants