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

对于数据预处理的疑惑 #13

Open
zcqiand opened this issue May 28, 2018 · 1 comment
Open

对于数据预处理的疑惑 #13

zcqiand opened this issue May 28, 2018 · 1 comment

Comments

@zcqiand
Copy link

zcqiand commented May 28, 2018

在preprocess.py文件中:data[i][:_size] = tmp这一行代码,其中_size要小于num_steps,这就限制了关键字对应数据的大小,可不可以直接根据字符的长度进行数据处理呢

@hit-computer
Copy link
Owner

hit-computer commented Jun 5, 2018

@zcqiand 这个是按照 batch 进行数据预处理的,每个 batch 中数据长度要一致

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

2 participants