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

Questions on running time #5

Open
XingyuXiong opened this issue Aug 1, 2019 · 5 comments
Open

Questions on running time #5

XingyuXiong opened this issue Aug 1, 2019 · 5 comments

Comments

@XingyuXiong
Copy link

I wonder in each step how much time it will take? In preprocessing, trainning and running the model.

@XingyuXiong
Copy link
Author

Oh unfortunately I get this when run preprocess.py
Traceback (most recent call last):
File "preprocess.py", line 52, in
train['y'], train['c'], train['r'] = get_values('ubuntu_data/train.txt', get_c_d=False, w2id=w2id)
File "preprocess.py", line 28, in get_values
c = [' EOS '.join(a[1:-1]).split() for a in data]
File "preprocess.py", line 28, in
c = [' EOS '.join(a[1:-1]).split() for a in data]
MemoryError
What should I do?

@DeepInEvil
Copy link
Collaborator

for me the training took 22 mins/epoch and evaluation around a minute
your error suggests that you don't have enough ram on the machine you are running on

@XingyuXiong
Copy link
Author

I find it is possibly because I am running on a windows 10 system, and there is a memory limitation for the maximum of 3g on python 32bit. Thank you!

@XingyuXiong
Copy link
Author

Hi, I solve some environment problems and start to run preprocessing in Ubuntu 18.04 in VMware. Still, it takes me lots of time, maybe more than several hours. Is there any possible ways to accelerate the process?

@DeepInEvil
Copy link
Collaborator

yes, we have a custom preprocessor in place, can you try changing it to multi-threaded? in preprocess,py I can try to do it too when I have some time.

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