{"action":"created","issue":{"url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/issues/10","repository_url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example","labels_url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/issues/10/comments","events_url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/issues/10/events","html_url":"https://github.com/allenai/allennlp-as-a-library-example/pull/10","id":330010626,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMTIzNTI4","number":10,"title":"Removed unnecessary call to squeeze","user":{"login":"mikerossgithub","id":20446922,"node_id":"MDQ6VXNlcjIwNDQ2OTIy","avatar_url":"https://avatars2.githubusercontent.com/u/20446922?v=4","gravatar_id":"","url":"https://api.github.com/users/mikerossgithub","html_url":"https://github.com/mikerossgithub","followers_url":"https://api.github.com/users/mikerossgithub/followers","following_url":"https://api.github.com/users/mikerossgithub/following{/other_user}","gists_url":"https://api.github.com/users/mikerossgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/mikerossgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikerossgithub/subscriptions","organizations_url":"https://api.github.com/users/mikerossgithub/orgs","repos_url":"https://api.github.com/users/mikerossgithub/repos","events_url":"https://api.github.com/users/mikerossgithub/events{/privacy}","received_events_url":"https://api.github.com/users/mikerossgithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-06T19:57:46Z","updated_at":"2018-06-06T20:22:17Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/pulls/10","html_url":"https://github.com/allenai/allennlp-as-a-library-example/pull/10","diff_url":"https://github.com/allenai/allennlp-as-a-library-example/pull/10.diff","patch_url":"https://github.com/allenai/allennlp-as-a-library-example/pull/10.patch"},"body":"`squeeze` causes a crash when batch size is 1. To reproduce the original error, set batch size for the demo to 1 or 3, or 9 (the later two cause the final batch to have size 1)."},"comment":{"url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/issues/comments/395201044","html_url":"https://github.com/allenai/allennlp-as-a-library-example/pull/10#issuecomment-395201044","issue_url":"https://api.github.com/repos/allenai/allennlp-as-a-library-example/issues/10","id":395201044,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTIwMTA0NA==","user":{"login":"matt-gardner","id":3291951,"node_id":"MDQ6VXNlcjMyOTE5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/3291951?v=4","gravatar_id":"","url":"https://api.github.com/users/matt-gardner","html_url":"https://github.com/matt-gardner","followers_url":"https://api.github.com/users/matt-gardner/followers","following_url":"https://api.github.com/users/matt-gardner/following{/other_user}","gists_url":"https://api.github.com/users/matt-gardner/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-gardner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-gardner/subscriptions","organizations_url":"https://api.github.com/users/matt-gardner/orgs","repos_url":"https://api.github.com/users/matt-gardner/repos","events_url":"https://api.github.com/users/matt-gardner/events{/privacy}","received_events_url":"https://api.github.com/users/matt-gardner/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T20:22:17Z","updated_at":"2018-06-06T20:22:17Z","author_association":"MEMBER","body":"Are you using the master branch of allennlp, or version 0.4.2?  We made in a change in master that requires removing the `squeeze` for all batch sizes, so this definitely needs to be updated for the next release.  But I _think_ it's still necessary for 0.4.2."}}
{"actor":{"display_login":"matt-gardner"}}