{"action":"opened","issue":{"url":"https://api.github.com/repos/conala-corpus/conala-baseline/issues/2","repository_url":"https://api.github.com/repos/conala-corpus/conala-baseline","labels_url":"https://api.github.com/repos/conala-corpus/conala-baseline/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/conala-corpus/conala-baseline/issues/2/comments","events_url":"https://api.github.com/repos/conala-corpus/conala-baseline/issues/2/events","html_url":"https://github.com/conala-corpus/conala-baseline/issues/2","id":333522239,"node_id":"MDU6SXNzdWUzMzM1MjIyMzk=","number":2,"title":"KeyError: 'filters' error","user":{"login":"taoyds","id":14208639,"node_id":"MDQ6VXNlcjE0MjA4NjM5","avatar_url":"https://avatars0.githubusercontent.com/u/14208639?v=4","gravatar_id":"","url":"https://api.github.com/users/taoyds","html_url":"https://github.com/taoyds","followers_url":"https://api.github.com/users/taoyds/followers","following_url":"https://api.github.com/users/taoyds/following{/other_user}","gists_url":"https://api.github.com/users/taoyds/gists{/gist_id}","starred_url":"https://api.github.com/users/taoyds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoyds/subscriptions","organizations_url":"https://api.github.com/users/taoyds/orgs","repos_url":"https://api.github.com/users/taoyds/repos","events_url":"https://api.github.com/users/taoyds/events{/privacy}","received_events_url":"https://api.github.com/users/taoyds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-19T05:17:38Z","updated_at":"2018-06-19T05:17:38Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nI was trying to run the baseline. While I got the following error: \r\n\r\n`...\r\nunigram_model_trainer.cc(511) LOG(INFO) EM sub_iter=0 size=3548 obj=10.1887 num_tokens=17404 num_tokens/piece=4.9053\r\nunigram_model_trainer.cc(511) LOG(INFO) EM sub_iter=1 size=3138 obj=8.39466 num_tokens=17587 num_tokens/piece=5.60453\r\ntrainer_interface.cc(349) LOG(INFO) Saving model: conala-corpus/conala-trainnodev.tspm4000.spm.model\r\ntrainer_interface.cc(360) LOG(INFO) Saving vocabs: conala-corpus/conala-trainnodev.tspm4000.spm.vocab\r\nTraceback (most recent call last):\r\n  File \"/anaconda3/envs/dy36/bin/xnmt\", line 11, in <module>\r\n    load_entry_point('xnmt==0.0.1', 'console_scripts', 'xnmt')()\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/xnmt_run_experiments.py\", line 98, in main\r\n    experiment = initialize_if_needed(uninitialized_exp_args)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/persistence.py\", line 1297, in initialize_if_needed\r\n    return _YamlDeserializer().initialize_if_needed(root)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/persistence.py\", line 1038, in initialize_if_needed\r\n    else: return self.initialize_object(deserialized_yaml_wrapper=obj)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/persistence.py\", line 1081, in initialize_object\r\n    initialized = self.init_components_bottom_up(self.deserialized_yaml)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/persistence.py\", line 1180, in init_components_bottom_up\r\n    initialized_component = self.init_component(path)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/persistence.py\", line 1215, in init_component\r\n    initialized_obj = obj.__class__(**init_params)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/persistence.py\", line 84, in wrapper\r\n    f(obj, **serialize_params)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/preproc_runner.py\", line 38, in __init__\r\n    task.run_preproc_task(overwrite = overwrite)\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/preproc_runner.py\", line 139, in run_preproc_task\r\n    for my_opts in self.specs}\r\n  File \"/anaconda3/envs/dy36/lib/python3.6/site-packages/xnmt-0.0.1-py3.6.egg/xnmt/preproc_runner.py\", line 139, in <dictcomp>\r\n    for my_opts in self.specs}\r\nKeyError: 'filters'`\r\n\r\nI tried to print `my_opts` in the `preproc_runner.py`,  it looks like:\r\n\r\n`{'filenum': 'all', 'spec': [{'type': 'freq', 'min_freq': 2}]}`\r\n\r\nIs this error relate to the DyNet package installation? Thanks!\r\n"}}
{"actor":{"display_login":"taoyds"}}