{"action":"opened","issue":{"url":"https://api.github.com/repos/ikostrikov/pytorch-a2c-ppo-acktr/issues/72","repository_url":"https://api.github.com/repos/ikostrikov/pytorch-a2c-ppo-acktr","labels_url":"https://api.github.com/repos/ikostrikov/pytorch-a2c-ppo-acktr/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/ikostrikov/pytorch-a2c-ppo-acktr/issues/72/comments","events_url":"https://api.github.com/repos/ikostrikov/pytorch-a2c-ppo-acktr/issues/72/events","html_url":"https://github.com/ikostrikov/pytorch-a2c-ppo-acktr/issues/72","id":326495740,"number":72,"title":"ValueError if batch size is smaller than number of mini batches","user":{"login":"timmeinhardt","id":7427306,"avatar_url":"https://avatars0.githubusercontent.com/u/7427306?v=4","gravatar_id":"","url":"https://api.github.com/users/timmeinhardt","html_url":"https://github.com/timmeinhardt","followers_url":"https://api.github.com/users/timmeinhardt/followers","following_url":"https://api.github.com/users/timmeinhardt/following{/other_user}","gists_url":"https://api.github.com/users/timmeinhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/timmeinhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmeinhardt/subscriptions","organizations_url":"https://api.github.com/users/timmeinhardt/orgs","repos_url":"https://api.github.com/users/timmeinhardt/repos","events_url":"https://api.github.com/users/timmeinhardt/events{/privacy}","received_events_url":"https://api.github.com/users/timmeinhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T12:04:17Z","updated_at":"2018-05-25T12:04:17Z","closed_at":null,"author_association":"NONE","body":"The following line returns zero and throws a `ValueError` if the batch size resulting from the number of processes and steps is smaller than the number of mini batches. This happens to me especially in for the PPO case where by default `num_mini_batch=32`. Maybe one could catch this before the training starts and return a more descriptive error. https://github.com/ikostrikov/pytorch-a2c-ppo-acktr/blob/552eb86bbc3e338a898d4adcc506d63fdbabebe0/storage.py#L69"}}
{"actor":{"display_login":"timmeinhardt"}}