PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.24k stars 5.59k forks source link

Error while running demo/semantic_role_labeling/train.sh #1785

Closed sanjaymeena closed 7 years ago

sanjaymeena commented 7 years ago

Hello all, I am using paddle for the first time. I am using docker image paddlepaddle/paddle:0.10.0rc2 . When i run paddle/demo/semantic_role_labeling/train.sh , it give me following error :

image

Please help! I can run api_train_v2.py . It does not have code to save model or do predictions yet.

typhoonzero commented 7 years ago

Sorry, this is a bug of the docker image paddlepaddle/paddle:0.10.0rc2. You need to specify PYTHONHOME to /usr/local in order to run:

export PYTHONHOME=/usr/local
./train.sh

Fix patch is on the way.

sanjaymeena commented 7 years ago

thank you :) this solves my problem. Waiting for the patch.

sanjaymeena commented 7 years ago

Hello, in the same demo program there is another problem with predict.sh script . It gives a core dump

build : paddlepaddle/paddle:0.10.0rc2 file : paddle/demo/semantic_role_labeling/predict.sh

image

reyoung commented 7 years ago

It seems we provide a new version training script but do not provide the prediction code at the same time.

Please try to use master branch for stable release. This issue will be fixed soon.

luotao1 commented 7 years ago

@sanjaymeena please use the latest v0.10.0 and book/label_semantic_roles instead. We will not maintain the demo/semantic_role_labeling in the future.