{"action":"created","issue":{"url":"https://api.github.com/repos/mingyuliutw/UNIT/issues/17","repository_url":"https://api.github.com/repos/mingyuliutw/UNIT","labels_url":"https://api.github.com/repos/mingyuliutw/UNIT/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mingyuliutw/UNIT/issues/17/comments","events_url":"https://api.github.com/repos/mingyuliutw/UNIT/issues/17/events","html_url":"https://github.com/mingyuliutw/UNIT/issues/17","id":272052776,"number":17,"title":"AttributeError: 'list' object has no attribute 'gen'","user":{"login":"flrgsr","id":10788640,"avatar_url":"https://avatars3.githubusercontent.com/u/10788640?v=4","gravatar_id":"","url":"https://api.github.com/users/flrgsr","html_url":"https://github.com/flrgsr","followers_url":"https://api.github.com/users/flrgsr/followers","following_url":"https://api.github.com/users/flrgsr/following{/other_user}","gists_url":"https://api.github.com/users/flrgsr/gists{/gist_id}","starred_url":"https://api.github.com/users/flrgsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flrgsr/subscriptions","organizations_url":"https://api.github.com/users/flrgsr/orgs","repos_url":"https://api.github.com/users/flrgsr/repos","events_url":"https://api.github.com/users/flrgsr/events{/privacy}","received_events_url":"https://api.github.com/users/flrgsr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-08T02:21:18Z","updated_at":"2017-11-18T20:06:45Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am trying to run the \"Cat to Tiger Translation\" test with `python cocogan_translate_one_image.py --config ../exps/unit/cat2tiger.yaml --a2b 1 --weights ../outputs/unit/cat2tiger/cat2tiger_gen_00500000.pkl --image_name ../images/cat001.jpg --output_image_name ../results/cat2tiger_cat001.jpg` and get the following error:\r\n\r\n`AttributeError: 'list' object has no attribute 'gen'` \r\n\r\nBy inspecting the source code in `cocogan_translate_one_image.py:42` (https://github.com/mingyuliutw/UNIT/blob/master/src/cocogan_translate_one_image.py#L42) I find that trainer is here indeed first defined as as list. The `exec` command in the next line seems to turn this into a dict (?) so it seems that this is the source of the error.\r\n\r\nWhat to do? (I am using Python3)\r\nThx\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mingyuliutw/UNIT/issues/comments/345467653","html_url":"https://github.com/mingyuliutw/UNIT/issues/17#issuecomment-345467653","issue_url":"https://api.github.com/repos/mingyuliutw/UNIT/issues/17","id":345467653,"user":{"login":"mingyuliutw","id":8594682,"avatar_url":"https://avatars0.githubusercontent.com/u/8594682?v=4","gravatar_id":"","url":"https://api.github.com/users/mingyuliutw","html_url":"https://github.com/mingyuliutw","followers_url":"https://api.github.com/users/mingyuliutw/followers","following_url":"https://api.github.com/users/mingyuliutw/following{/other_user}","gists_url":"https://api.github.com/users/mingyuliutw/gists{/gist_id}","starred_url":"https://api.github.com/users/mingyuliutw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingyuliutw/subscriptions","organizations_url":"https://api.github.com/users/mingyuliutw/orgs","repos_url":"https://api.github.com/users/mingyuliutw/repos","events_url":"https://api.github.com/users/mingyuliutw/events{/privacy}","received_events_url":"https://api.github.com/users/mingyuliutw/received_events","type":"User","site_admin":false},"created_at":"2017-11-18T20:06:45Z","updated_at":"2017-11-18T20:06:45Z","author_association":"OWNER","body":"Have you resulted the issue?"}}
{"actor":{"display_login":"mingyuliutw"}}