{"action":"created","issue":{"url":"https://api.github.com/repos/tambetm/simple_dqn/issues/20","repository_url":"https://api.github.com/repos/tambetm/simple_dqn","labels_url":"https://api.github.com/repos/tambetm/simple_dqn/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/tambetm/simple_dqn/issues/20/comments","events_url":"https://api.github.com/repos/tambetm/simple_dqn/issues/20/events","html_url":"https://github.com/tambetm/simple_dqn/issues/20","id":156446215,"number":20,"title":"./test_gym.sh 'NoneType' object has no attribute 'add'","user":{"login":"iaroslav-ai","id":14038787,"avatar_url":"https://avatars.githubusercontent.com/u/14038787?v=3","gravatar_id":"","url":"https://api.github.com/users/iaroslav-ai","html_url":"https://github.com/iaroslav-ai","followers_url":"https://api.github.com/users/iaroslav-ai/followers","following_url":"https://api.github.com/users/iaroslav-ai/following{/other_user}","gists_url":"https://api.github.com/users/iaroslav-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/iaroslav-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaroslav-ai/subscriptions","organizations_url":"https://api.github.com/users/iaroslav-ai/orgs","repos_url":"https://api.github.com/users/iaroslav-ai/repos","events_url":"https://api.github.com/users/iaroslav-ai/events{/privacy}","received_events_url":"https://api.github.com/users/iaroslav-ai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T08:16:50Z","updated_at":"2016-05-24T12:01:38Z","closed_at":"2016-05-24T12:01:37Z","body":"I tried fixing #19 by adding the missing arguments declaration from main.py. I copy pasted following in test_gym.py:\r\n```\r\nmainarg.add_argument(\"--start_epoch\", type=int, default=0, help=\"Start from this epoch, affects exploration rate and names of saved snapshots.\")\r\nmainarg.add_argument(\"--train_steps\", type=int, default=250000, help=\"How many training steps per epoch.\")\r\n```\r\n\r\nand what I get is\r\n\r\n```\r\n./test_gym.sh snapshots/Breakout-v0_18.prm\r\n[2016-05-24 10:07:42,957] Making new env: Breakout-v0\r\nLoading weights from snapshots/Breakout-v0_18.prm\r\n[2016-05-24 10:07:44,096] Clearing 4 monitor files from previous run (because force=True was provided)\r\n[2016-05-24 10:07:44,113] Starting new video recorder writing to /home/iaroslav/simple_dqn/results/Breakout-v0/openaigym.video.0.15157.video000000.mp4\r\nTraceback (most recent call last):\r\n  File \"src/test_gym.py\", line 75, in <module>\r\n    agent.play(args.num_episodes)\r\n  File \"/home/iaroslav/simple_dqn/src/agent.py\", line 131, in play\r\n    self.mem.add(action, reward, screen, terminal)\r\nAttributeError: 'NoneType' object has no attribute 'add'\r\n[2016-05-24 10:07:44,492] Finished writing results. You can upload them to the scoreboard via gym.upload('/home/iaroslav/simple_dqn/results/Breakout-v0')\r\n```\r\n\r\nI also tried console command [from here](https://gym.openai.com/evaluations/eval_glkKKInTm6GlmcOQRZuhQ), but the result is the same.\r\n\r\n Is it working as expected or is there a bug?"},"comment":{"url":"https://api.github.com/repos/tambetm/simple_dqn/issues/comments/221247517","html_url":"https://github.com/tambetm/simple_dqn/issues/20#issuecomment-221247517","issue_url":"https://api.github.com/repos/tambetm/simple_dqn/issues/20","id":221247517,"user":{"login":"tambetm","id":3816322,"avatar_url":"https://avatars.githubusercontent.com/u/3816322?v=3","gravatar_id":"","url":"https://api.github.com/users/tambetm","html_url":"https://github.com/tambetm","followers_url":"https://api.github.com/users/tambetm/followers","following_url":"https://api.github.com/users/tambetm/following{/other_user}","gists_url":"https://api.github.com/users/tambetm/gists{/gist_id}","starred_url":"https://api.github.com/users/tambetm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tambetm/subscriptions","organizations_url":"https://api.github.com/users/tambetm/orgs","repos_url":"https://api.github.com/users/tambetm/repos","events_url":"https://api.github.com/users/tambetm/events{/privacy}","received_events_url":"https://api.github.com/users/tambetm/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T12:01:37Z","updated_at":"2016-05-24T12:01:37Z","body":"Fixed in https://github.com/tambetm/simple_dqn/commit/6dd0506fca44ed8c6561dad1b5ea788ab6db5b22."}}
{"actor":{"display_login":"tambetm"}}