{"action":"created","issue":{"url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq/issues/115","repository_url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq","labels_url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq/issues/115/comments","events_url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq/issues/115/events","html_url":"https://github.com/cmusphinx/g2p-seq2seq/issues/115","id":318781821,"number":115,"title":"Error in Starting Interactive Session","user":{"login":"zhanwenchen","id":5029736,"avatar_url":"https://avatars0.githubusercontent.com/u/5029736?v=4","gravatar_id":"","url":"https://api.github.com/users/zhanwenchen","html_url":"https://github.com/zhanwenchen","followers_url":"https://api.github.com/users/zhanwenchen/followers","following_url":"https://api.github.com/users/zhanwenchen/following{/other_user}","gists_url":"https://api.github.com/users/zhanwenchen/gists{/gist_id}","starred_url":"https://api.github.com/users/zhanwenchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhanwenchen/subscriptions","organizations_url":"https://api.github.com/users/zhanwenchen/orgs","repos_url":"https://api.github.com/users/zhanwenchen/repos","events_url":"https://api.github.com/users/zhanwenchen/events{/privacy}","received_events_url":"https://api.github.com/users/zhanwenchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-30T04:12:14Z","updated_at":"2018-04-30T21:41:38Z","closed_at":null,"author_association":"NONE","body":"I just downloaded and installed this but wasn't able to start the tutorial. The command `g2p-seq2seq --interactive --model_dir model.params` gives two possible errors.\r\n\r\n1. \r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/zhanwenchen/anaconda/bin/g2p-seq2seq\", line 11, in <module>\r\n    load_entry_point('g2p-seq2seq==6.1.3a0', 'console_scripts', 'g2p-seq2seq')()\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/site-packages/g2p_seq2seq-6.1.3a0-py3.6.egg/g2p_seq2seq/app.py\", line 107, in main\r\n    params.hparams = g2p_trainer_utils.load_params(FLAGS.model_dir)\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/site-packages/g2p_seq2seq-6.1.3a0-py3.6.egg/g2p_seq2seq/g2p_trainer_utils.py\", line 217, in load_params\r\n    raise StandardError(\"File {} not exists.\".format(params_file_path))\r\nNameError: name 'StandardError' is not defined\r\n```\r\n\r\n2. \r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/zhanwenchen/anaconda/bin/g2p-seq2seq\", line 11, in <module>\r\n    load_entry_point('g2p-seq2seq==6.1.3a0', 'console_scripts', 'g2p-seq2seq')()\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/site-packages/g2p_seq2seq-6.1.3a0-py3.6.egg/g2p_seq2seq/app.py\", line 107, in main\r\n    params.hparams = g2p_trainer_utils.load_params(FLAGS.model_dir)\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/site-packages/g2p_seq2seq-6.1.3a0-py3.6.egg/g2p_seq2seq/g2p_trainer_utils.py\", line 210, in load_params\r\n    model_params = json.load(open(params_file_path))\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/json/__init__.py\", line 299, in load\r\n    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/json/__init__.py\", line 354, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/json/decoder.py\", line 339, in decode\r\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n  File \"/Users/zhanwenchen/anaconda/lib/python3.6/json/decoder.py\", line 357, in raw_decode\r\n    raise JSONDecodeError(\"Expecting value\", s, err.value) from None\r\njson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\r\n```"},"comment":{"url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq/issues/comments/385537573","html_url":"https://github.com/cmusphinx/g2p-seq2seq/issues/115#issuecomment-385537573","issue_url":"https://api.github.com/repos/cmusphinx/g2p-seq2seq/issues/115","id":385537573,"user":{"login":"nurtas-m","id":15526839,"avatar_url":"https://avatars0.githubusercontent.com/u/15526839?v=4","gravatar_id":"","url":"https://api.github.com/users/nurtas-m","html_url":"https://github.com/nurtas-m","followers_url":"https://api.github.com/users/nurtas-m/followers","following_url":"https://api.github.com/users/nurtas-m/following{/other_user}","gists_url":"https://api.github.com/users/nurtas-m/gists{/gist_id}","starred_url":"https://api.github.com/users/nurtas-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurtas-m/subscriptions","organizations_url":"https://api.github.com/users/nurtas-m/orgs","repos_url":"https://api.github.com/users/nurtas-m/repos","events_url":"https://api.github.com/users/nurtas-m/events{/privacy}","received_events_url":"https://api.github.com/users/nurtas-m/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T21:41:38Z","updated_at":"2018-04-30T21:41:38Z","author_association":"COLLABORATOR","body":"Hello, @zhanwenchen \r\nSorry, but the model that we uploaded [here](https://sourceforge.net/projects/cmusphinx/files/G2P%20Models/g2p-seq2seq-cmudict.tar.gz/download) is outdated now. Can you, please, train the model by yourself before launching \"--interactive\" mode? Sorry, but we are not ready to upload the new model now because of some issues."}}
{"actor":{"display_login":"nurtas-m"}}