{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech/issues/229","repository_url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech","labels_url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech/issues/229/comments","events_url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech/issues/229/events","html_url":"https://github.com/PaddlePaddle/DeepSpeech/issues/229","id":322633190,"number":229,"title":"Illegal instruction (core dumped) Failed in evaluation!","user":{"login":"thumarrushik","id":13152618,"avatar_url":"https://avatars0.githubusercontent.com/u/13152618?v=4","gravatar_id":"","url":"https://api.github.com/users/thumarrushik","html_url":"https://github.com/thumarrushik","followers_url":"https://api.github.com/users/thumarrushik/followers","following_url":"https://api.github.com/users/thumarrushik/following{/other_user}","gists_url":"https://api.github.com/users/thumarrushik/gists{/gist_id}","starred_url":"https://api.github.com/users/thumarrushik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumarrushik/subscriptions","organizations_url":"https://api.github.com/users/thumarrushik/orgs","repos_url":"https://api.github.com/users/thumarrushik/repos","events_url":"https://api.github.com/users/thumarrushik/events{/privacy}","received_events_url":"https://api.github.com/users/thumarrushik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-13T22:36:55Z","updated_at":"2018-05-14T08:14:47Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am facing a below-mentioned problem when evaluating pretrained models. Any help would be appreciated. Also, Thank you for providing DeepSpeech Pretrained Models.\r\n\r\nOperating System : AWS Ubuntu 16.04\r\n\r\n```\r\nDeepSpeech/examples/tiny$ sudo sh run_test_golden.sh\r\nDownload language model ...\r\ndownload_lm_en.sh: 8: [: 099a601759d467cd0a8523ff939819c5: unexpected operator\r\n--2018-05-13 22:32:15--  http://paddlepaddle.bj.bcebos.com/model_zoo/speech/common_crawl_00.prune01111.trie.klm\r\nResolving paddlepaddle.bj.bcebos.com (paddlepaddle.bj.bcebos.com)... 103.235.46.61\r\nConnecting to paddlepaddle.bj.bcebos.com (paddlepaddle.bj.bcebos.com)|103.235.46.61|:80... connected.\r\nHTTP request sent, awaiting response... 416 Requested Range Not Satisfiable\r\n\r\n    The file is already fully retrieved; nothing to do.\r\n\r\ndownload_lm_en.sh: 20: [: 099a601759d467cd0a8523ff939819c5: unexpected operator\r\nDownload LibriSpeech model ...\r\ndownload_model.sh: 8: [: 1f72d0c5591f453362f0caa09dd57618: unexpected operator\r\n--2018-05-13 22:32:50--  http://cloud.dlnel.org/filepub/?uuid=117cde63-cd59-4948-8b80-df782555f7d6\r\nResolving cloud.dlnel.org (cloud.dlnel.org)... 202.108.23.203\r\nConnecting to cloud.dlnel.org (cloud.dlnel.org)|202.108.23.203|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nCookie coming from cloud.dlnel.org attempted to set domain to baidu.com\r\nLength: unspecified [application/x-tar]\r\nSaving to: ‘./librispeech_model.tar.gz’\r\n\r\n./librispeech_model.ta     [                    <=>   ] 159.29M  4.54MB/s    in 62s\r\n\r\n2018-05-13 22:33:54 (2.58 MB/s) - ‘./librispeech_model.tar.gz’ saved [167029229]\r\n\r\ndownload_model.sh: 20: [: 1f72d0c5591f453362f0caa09dd57618: unexpected operator\r\nmean_std.npz\r\nparams.tar.gz\r\nREADME.md\r\nvocab.txt\r\n-----------  Configuration Arguments -----------\r\nalpha: 2.5\r\nbatch_size: 8\r\nbeam_size: 500\r\nbeta: 0.3\r\ncutoff_prob: 1.0\r\ncutoff_top_n: 40\r\ndecoding_method: ctc_beam_search\r\nerror_rate_type: wer\r\nlang_model_path: models/lm/common_crawl_00.prune01111.trie.klm\r\nmean_std_path: models/librispeech/mean_std.npz\r\nmodel_path: models/librispeech/params.tar.gz\r\nnum_conv_layers: 2\r\nnum_proc_bsearch: 8\r\nnum_proc_data: 8\r\nnum_rnn_layers: 3\r\nrnn_layer_size: 2048\r\nshare_rnn_weights: 1\r\nspecgram_type: linear\r\ntest_manifest: data/tiny/manifest.test-clean\r\ntrainer_count: 8\r\nuse_gpu: 0\r\nuse_gru: 0\r\nvocab_path: models/librispeech/vocab.txt\r\n------------------------------------------------\r\nIllegal instruction (core dumped)\r\nFailed in evaluation!\r\n\r\n```\r\nrun_test_golden.sh file\r\n\r\n```\r\nDeepSpeech/examples/tiny$ cat run_test_golden.sh \r\n#! /usr/bin/env bash\r\n\r\ncd ../.. > /dev/null\r\n\r\n# download language model\r\ncd models/lm > /dev/null\r\nsh download_lm_en.sh\r\nif [ $? -ne 0 ]; then\r\n    exit 1\r\nfi\r\ncd - > /dev/null\r\n\r\n\r\n# download well-trained model\r\ncd models/librispeech > /dev/null\r\nsh download_model.sh\r\nif [ $? -ne 0 ]; then\r\n    exit 1\r\nfi\r\ncd - > /dev/null\r\n\r\n\r\n# evaluate model\r\nCUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \\\r\npython -u test.py \\\r\n--batch_size=8 \\\r\n--trainer_count=8 \\\r\n--beam_size=500 \\\r\n--num_proc_bsearch=8 \\\r\n--num_proc_data=8 \\\r\n--num_conv_layers=2 \\\r\n--num_rnn_layers=3 \\\r\n--rnn_layer_size=2048 \\\r\n--alpha=2.5 \\\r\n--beta=0.3 \\\r\n--cutoff_prob=1.0 \\\r\n--cutoff_top_n=40 \\\r\n--use_gru=False \\\r\n--use_gpu=False \\\r\n--share_rnn_weights=True \\\r\n--test_manifest='data/tiny/manifest.test-clean' \\\r\n--mean_std_path='models/librispeech/mean_std.npz' \\\r\n--vocab_path='models/librispeech/vocab.txt' \\\r\n--model_path='models/librispeech/params.tar.gz' \\\r\n--lang_model_path='models/lm/common_crawl_00.prune01111.trie.klm' \\\r\n--decoding_method='ctc_beam_search' \\\r\n--error_rate_type='wer' \\\r\n--specgram_type='linear'\r\n\r\nif [ $? -ne 0 ]; then\r\n    echo \"Failed in evaluation!\"\r\n    exit 1\r\nfi\r\n\r\n\r\nexit 0\r\n```\r\nSwig Decoders\r\n\r\n```\r\nDeepSpeech/examples/tiny$ pip show swig-decoders\r\n---\r\nMetadata-Version: 1.0\r\nName: swig-decoders\r\nVersion: 1.1\r\nSummary: CTC decoders\r\nHome-page: UNKNOWN\r\nAuthor: UNKNOWN\r\nAuthor-email: UNKNOWN\r\nLicense: UNKNOWN\r\nLocation: /usr/local/lib/python2.7/dist-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg\r\nRequires: \r\nClassifiers:\r\nYou are using pip version 8.1.1, however version 10.0.1 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech/issues/comments/388733677","html_url":"https://github.com/PaddlePaddle/DeepSpeech/issues/229#issuecomment-388733677","issue_url":"https://api.github.com/repos/PaddlePaddle/DeepSpeech/issues/229","id":388733677,"user":{"login":"gdfspy","id":733680,"avatar_url":"https://avatars3.githubusercontent.com/u/733680?v=4","gravatar_id":"","url":"https://api.github.com/users/gdfspy","html_url":"https://github.com/gdfspy","followers_url":"https://api.github.com/users/gdfspy/followers","following_url":"https://api.github.com/users/gdfspy/following{/other_user}","gists_url":"https://api.github.com/users/gdfspy/gists{/gist_id}","starred_url":"https://api.github.com/users/gdfspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdfspy/subscriptions","organizations_url":"https://api.github.com/users/gdfspy/orgs","repos_url":"https://api.github.com/users/gdfspy/repos","events_url":"https://api.github.com/users/gdfspy/events{/privacy}","received_events_url":"https://api.github.com/users/gdfspy/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T08:14:47Z","updated_at":"2018-05-14T08:14:47Z","author_association":"NONE","body":"I met this problem before. The reason is the CPU not support AVX2."}}
{"actor":{"display_login":"gdfspy"}}