{"action":"created","issue":{"url":"https://api.github.com/repos/chqiwang/convseg/issues/6","repository_url":"https://api.github.com/repos/chqiwang/convseg","labels_url":"https://api.github.com/repos/chqiwang/convseg/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/chqiwang/convseg/issues/6/comments","events_url":"https://api.github.com/repos/chqiwang/convseg/issues/6/events","html_url":"https://github.com/chqiwang/convseg/issues/6","id":389572253,"node_id":"MDU6SXNzdWUzODk1NzIyNTM=","number":6,"title":"IOError: [Errno 2] No such file or directory: 'model-wemb-msr/logs/dev/1.temp'","user":{"login":"Jingyilang","id":26382693,"node_id":"MDQ6VXNlcjI2MzgyNjkz","avatar_url":"https://avatars0.githubusercontent.com/u/26382693?v=4","gravatar_id":"","url":"https://api.github.com/users/Jingyilang","html_url":"https://github.com/Jingyilang","followers_url":"https://api.github.com/users/Jingyilang/followers","following_url":"https://api.github.com/users/Jingyilang/following{/other_user}","gists_url":"https://api.github.com/users/Jingyilang/gists{/gist_id}","starred_url":"https://api.github.com/users/Jingyilang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jingyilang/subscriptions","organizations_url":"https://api.github.com/users/Jingyilang/orgs","repos_url":"https://api.github.com/users/Jingyilang/repos","events_url":"https://api.github.com/users/Jingyilang/events{/privacy}","received_events_url":"https://api.github.com/users/Jingyilang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-12-11T02:39:44Z","updated_at":"2018-12-12T02:59:20Z","closed_at":null,"author_association":"NONE","body":"When I use word ebedding(word_window==4), I encountered this error ：\r\n\r\n> Traceback (most recent call last):\r\n  File \"train.py\", line 91, in <module>\r\n    max_epoches=args.max_epoches)\r\n  File \"/home/czy/Pycode/MasterPaper/code/convseg-master/tagger.py\", line 440, in train\r\n    log_dir + '/dev', epoch)\r\n  File \"/home/czy/Pycode/MasterPaper/code/convseg-master/cws.py\", line 181, in evaluator\r\n    eval_lines = [l.rstrip() for l in codecs.open(temp_path, 'r', 'utf8')]\r\n  File \"/home/czy/env/.virtualenvs/keras/lib/python2.7/codecs.py\", line 896, in open\r\n    file = __builtin__.open(filename, mode, buffering)\r\nIOError: [Errno 2] No such file or directory: 'model-wemb-msr/logs/dev/1.temp'\r\n\r\nCan you tell me how to solve this problem? Thanks!"},"comment":{"url":"https://api.github.com/repos/chqiwang/convseg/issues/comments/446443951","html_url":"https://github.com/chqiwang/convseg/issues/6#issuecomment-446443951","issue_url":"https://api.github.com/repos/chqiwang/convseg/issues/6","id":446443951,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjQ0Mzk1MQ==","user":{"login":"Jingyilang","id":26382693,"node_id":"MDQ6VXNlcjI2MzgyNjkz","avatar_url":"https://avatars0.githubusercontent.com/u/26382693?v=4","gravatar_id":"","url":"https://api.github.com/users/Jingyilang","html_url":"https://github.com/Jingyilang","followers_url":"https://api.github.com/users/Jingyilang/followers","following_url":"https://api.github.com/users/Jingyilang/following{/other_user}","gists_url":"https://api.github.com/users/Jingyilang/gists{/gist_id}","starred_url":"https://api.github.com/users/Jingyilang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jingyilang/subscriptions","organizations_url":"https://api.github.com/users/Jingyilang/orgs","repos_url":"https://api.github.com/users/Jingyilang/repos","events_url":"https://api.github.com/users/Jingyilang/events{/privacy}","received_events_url":"https://api.github.com/users/Jingyilang/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T02:59:20Z","updated_at":"2018-12-12T02:59:20Z","author_association":"NONE","body":"> > I see the log. this is very weird because this statement https://github.com/chqiwang/convseg/blob/master/cws.py#L177 will create the temp file. can you debug to see if this statement is successfully executed?\r\n> \r\n> Ok. I just download the code again because I suspect I changed something and execute the cmd\r\n> \r\n> > ./train_cws_wemb.sh msr 0\r\n> \r\n> That error comes up again. So this should be an error in the original code itself.\r\n> If I find anything I'll report it here.\r\n\r\nI set word_window==0 in the train_cws_wemb.sh. Everything is OK. How could the size of word_window effect the execution of that statement?"}}
{"actor":{"display_login":"Jingyilang"}}