AK-DE-biGRU icon indicating copy to clipboard operation
AK-DE-biGRU copied to clipboard

Questions on running time

Open XingyuXiong opened this issue 6 years ago • 5 comments

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

XingyuXiong avatar Aug 01 '19 03:08 XingyuXiong

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?

XingyuXiong avatar Aug 01 '19 07:08 XingyuXiong

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

deepcode-debug avatar Aug 03 '19 14:08 deepcode-debug

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 avatar Aug 04 '19 09:08 XingyuXiong

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?

XingyuXiong avatar Aug 06 '19 07:08 XingyuXiong

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.

deepcode-debug avatar Aug 06 '19 10:08 deepcode-debug