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

训练model从GPU集群移到CPU集群报错 #662

Closed
qubingxin opened this issue Nov 30, 2016 · 5 comments
Closed

训练model从GPU集群移到CPU集群报错 #662

qubingxin opened this issue Nov 30, 2016 · 5 comments
Labels

Comments

@qubingxin
Copy link

之前用GPU训练CNNmodel,移到CPU集群训练报错。local_config和receiver已改,--where参数已改。
具体错误如下,未找到libpython2.6.so.1.0:
I1130 10:44:17.482218 3086 PyDataProvider.cpp:43] module:pyDataProviderImage class:GeneralJpegDataProvider
I1130 10:44:17.868773 3086 PythonUtil.cpp:149] createPythonClass moduleName.c_str:pyDataProviderImage
I1130 10:44:17.868809 3086 PythonUtil.cpp:154] createPythonClass className.c_str():GeneralJpegDataProvider
I1130 10:44:17.888891 3086 PythonUtil.cpp:83] Python Error: <type 'exceptions.ImportError'> : libpython2.6.so.1.0: cannot open shared object file: No such file or directory
I1130 10:44:17.888914 3086 PythonUtil.cpp:87] Python Callstack:
I1130 10:44:17.888922 3086 PythonUtil.cpp:92] /home/normandy/maybach/204635/workspace/thirdparty/thirdparty/pyDataProviderImage.py : 127
F1130 10:44:17.889091 3086 PythonUtil.cpp:108] Create class GeneralJpegDataProvider failed.

pyDataProviderImage.py的第126-127行是:
self.lib_name = "decodeJPEG._DeJPEG"
self.libmodel = import(self.lib_name,fromlist=['_DeJPEG'])

@backyes
Copy link
Contributor

backyes commented Nov 30, 2016 via email

@qubingxin
Copy link
Author

请问这个更新依赖是更新哪里的依赖?是指的receiver?

@backyes
Copy link
Contributor

backyes commented Nov 30, 2016

可能是你的thirdparty部分应该有依赖python2.6动态库模块,确保它们依赖python2.7,而不是2.6(集群环境没有2.6环境)。

@reyoung
Copy link
Collaborator

reyoung commented Dec 13, 2016

Closed due not response for long time. Reopen it if necessary.

@reyoung reyoung closed this as completed Dec 13, 2016
@Skyeyue
Copy link

Skyeyue commented Jul 24, 2019

请问问题解决了吗?我遇到的问题是sqlite依赖于py2.6,但是我折腾了很久一直无法升级到2.7

zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this issue Sep 25, 2019
* synchronize with develop (PaddlePaddle#642)

* update_commitid1.3 (PaddlePaddle#641)

* update inference c++ API doc (PaddlePaddle#634)

* update inference c++ API doc

* fix link

* thorough clean for doc (PaddlePaddle#644)

* thorough clean

* delete_DS_Store

* Cherrypick1.3 (PaddlePaddle#652)

* thorough clean

* delete_DS_Store

* [Don't merge now]update_install_doc (PaddlePaddle#643)

* update_install_doc

* follow_comments

* add maxdepth (PaddlePaddle#646)

* upload_md (PaddlePaddle#649)

* update_version (PaddlePaddle#650)

* Translation of 16 new apis (PaddlePaddle#651)

* fix_windows

* Final update 1.3 (PaddlePaddle#653)

* thorough clean

* delete_DS_Store

* update_1.3

* Deadlink fix (PaddlePaddle#654)

* fix_deadlinks

* update_docker

* Update release_note.rst

* Update index_cn.rst

* update_Paddle (PaddlePaddle#658)

* fix pic (PaddlePaddle#659)

* [to 1.3] cn api debug (PaddlePaddle#655) (PaddlePaddle#661)

* debug

* fix 2 -conv2d

* "锚" ==> anchor(s)
Meiyim pushed a commit to Meiyim/Paddle that referenced this issue May 21, 2021
yaozhixin added a commit to graphcore/Paddle-fork that referenced this issue Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants