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

StopIteration #1834

Closed
yiyepiaoling0715 opened this issue Apr 20, 2017 · 2 comments
Closed

StopIteration #1834

yiyepiaoling0715 opened this issue Apr 20, 2017 · 2 comments
Labels
User 用于标记用户问题

Comments

@yiyepiaoling0715
Copy link

yiyepiaoling0715 commented Apr 20, 2017

文本处理,在执行 bash ./preprocess.sh 报错,什么原因
root@74060277ac06:/home/Paddle/demo/quick_start# bash ./preprocess.sh
Start to preprcess...
Traceback (most recent call last):
File "preprocess.py", line 359, in
main()
File "preprocess.py", line 355, in main
data_creator.create_dataset()
File "preprocess.py", line 172, in create_dataset
train_data, train_lab_set = self.data_list(self.train_dir)
File "preprocess.py", line 132, in data_list
label_set = get_label_set_from_dir(path)
File "/usr/local/lib/python2.7/dist-packages/paddle/utils/preprocess_util.py", line 88, in get_label_set_from_dir
dirs = list_dirs(path)
File "/usr/local/lib/python2.7/dist-packages/paddle/utils/preprocess_util.py", line 55, in list_dirs
os.path.join(path, d) for d in next(os.walk(path))[1]
StopIteration

@qingqing01
Copy link
Contributor

这是demo里的quick start吗? 看运行输出的log不像是这个demo吧,如果是quick start,可以依据脚本 https://github.com/PaddlePaddle/Paddle/blob/develop/demo/quick_start/data/get_data.sh 下载已经处理好的数据~

@QiJune QiJune added the User 用于标记用户问题 label Jul 23, 2017
@QiJune
Copy link
Member

QiJune commented Jul 23, 2017

长时间没有更新,暂时close;如有进一步更新,欢迎reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User 用于标记用户问题
Projects
None yet
Development

No branches or pull requests

4 participants