Failed to download the Chinese LM
Created by: lispc
The DeepSpeech2 LM cannot be downloaded. I tried download_lm_ch.sh
or wget -c 'http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e' -O ./zh_giga.no_cna_cmn.prune01244.klm
directly more than five times yesterday and today from baiduyun server and my own server, every downloading task will fail after exact 60s. Is there any downloading related limit on the download server side?
The error msg is like below:
bash -x download_lm_ch.sh
+ source ../../utils/utility.sh
+ URL='http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e'
+ MD5=29e02312deb2e59b3c8686c7966d4fe3
+ TARGET=./zh_giga.no_cna_cmn.prune01244.klm
+ echo 'Download language model ...'
Download language model ...
+ download 'http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e' 29e02312deb2e59b3c8686c7966d4fe3 ./zh_giga.no_cna_cmn.prune01244.klm
+ URL='http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e'
+ MD5=29e02312deb2e59b3c8686c7966d4fe3
+ TARGET=./zh_giga.no_cna_cmn.prune01244.klm
+ '[' -e ./zh_giga.no_cna_cmn.prune01244.klm ']'
++ awk '-F[ ]' '{print $1}'
++ md5sum ./zh_giga.no_cna_cmn.prune01244.klm
+ md5_result=f9daaa02705421bd5450fdfece0ea819
+ '[' 29e02312deb2e59b3c8686c7966d4fe3 == f9daaa02705421bd5450fdfece0ea819 ']'
+ wget -c 'http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e' -O ./zh_giga.no_cna_cmn.prune01244.klm
--2017-09-20 12:21:10-- http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e
Resolving cloud.dlnel.org (cloud.dlnel.org)... 202.108.23.203
Connecting to cloud.dlnel.org (cloud.dlnel.org)|202.108.23.203|:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from cloud.dlnel.org attempted to set domain to baidu.com
Length: unspecified [application/force-download]
Saving to: ‘./zh_giga.no_cna_cmn.prune01244.klm’
./zh_giga.no_cna_cmn.prune01244.klm [ <=> ] 453.00M 8.66MB/s in 60s
2017-09-20 12:22:27 (7.54 MB/s) - ‘./zh_giga.no_cna_cmn.prune01244.klm’ saved [475003342]
+ '[' 0 -ne 0 ']'
++ awk '-F[ ]' '{print $1}'
++ md5sum ./zh_giga.no_cna_cmn.prune01244.klm
+ md5_result=36e444b6aefa4f2286e40923dbe9e432
+ '[' '!' 29e02312deb2e59b3c8686c7966d4fe3 == 36e444b6aefa4f2286e40923dbe9e432 ']'
+ return 1
+ '[' 1 -ne 0 ']'
+ echo 'Fail to download the language model!'
Fail to download the language model!
+ exit 1