{"action":"created","issue":{"url":"https://api.github.com/repos/aleju/imgaug/issues/211","repository_url":"https://api.github.com/repos/aleju/imgaug","labels_url":"https://api.github.com/repos/aleju/imgaug/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/aleju/imgaug/issues/211/comments","events_url":"https://api.github.com/repos/aleju/imgaug/issues/211/events","html_url":"https://github.com/aleju/imgaug/issues/211","id":385730407,"node_id":"MDU6SXNzdWUzODU3MzA0MDc=","number":211,"title":"Gaussian blur is broken","user":{"login":"KocsisV","id":39518109,"node_id":"MDQ6VXNlcjM5NTE4MTA5","avatar_url":"https://avatars2.githubusercontent.com/u/39518109?v=4","gravatar_id":"","url":"https://api.github.com/users/KocsisV","html_url":"https://github.com/KocsisV","followers_url":"https://api.github.com/users/KocsisV/followers","following_url":"https://api.github.com/users/KocsisV/following{/other_user}","gists_url":"https://api.github.com/users/KocsisV/gists{/gist_id}","starred_url":"https://api.github.com/users/KocsisV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KocsisV/subscriptions","organizations_url":"https://api.github.com/users/KocsisV/orgs","repos_url":"https://api.github.com/users/KocsisV/repos","events_url":"https://api.github.com/users/KocsisV/events{/privacy}","received_events_url":"https://api.github.com/users/KocsisV/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-29T13:13:56Z","updated_at":"2018-11-29T18:37:02Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\n\r\nI tried to use the GaussianBlur augmenter, but it seems to be broken. You can see my results in this image:\r\n![image](https://user-images.githubusercontent.com/39518109/49223725-df098600-f3df-11e8-9bf3-ef2f07a21292.png)\r\n\r\nThe code that used:\r\n```\r\nimgaug.seed(random.randint(0,1000000))`\r\nimgaug_sequence = imgaug.augmenters.Sequential([ imgaug.augmenters.GaussianBlur(sigma=(0,1)) ], random_order=True)\r\nimg = imgaug_sequence.augment_images(img)\r\n```\r\nimg.shape is (640, 368, 3), dtype is uint8\r\n\r\nimgaug version is 0.2.6, I installed it using pip3.\r\n\r\nAm I doing something wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/aleju/imgaug/issues/comments/442944427","html_url":"https://github.com/aleju/imgaug/issues/211#issuecomment-442944427","issue_url":"https://api.github.com/repos/aleju/imgaug/issues/211","id":442944427,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjk0NDQyNw==","user":{"login":"aleju","id":11698516,"node_id":"MDQ6VXNlcjExNjk4NTE2","avatar_url":"https://avatars0.githubusercontent.com/u/11698516?v=4","gravatar_id":"","url":"https://api.github.com/users/aleju","html_url":"https://github.com/aleju","followers_url":"https://api.github.com/users/aleju/followers","following_url":"https://api.github.com/users/aleju/following{/other_user}","gists_url":"https://api.github.com/users/aleju/gists{/gist_id}","starred_url":"https://api.github.com/users/aleju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleju/subscriptions","organizations_url":"https://api.github.com/users/aleju/orgs","repos_url":"https://api.github.com/users/aleju/repos","events_url":"https://api.github.com/users/aleju/events{/privacy}","received_events_url":"https://api.github.com/users/aleju/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T18:37:02Z","updated_at":"2018-11-29T18:37:02Z","author_association":"OWNER","body":"If you want to augment a single image, you have to use either `augment_image(image)` or `augment_images([image])[0]` or `augment_images(np.array([image]))[0]`.\r\nAn exception currently cannot be raised in `augment_images()` upon 3-dimensional inputs, because the library also accepts grayscale images of shape `(height, width)` (i.e. no channel axis) and hence the input can be of shape `(N, H, W)`.\r\nHowever, a warning is currently raised if the input is 3-dimensional and the last axis has value `1` or `3`, which should catch most false inputs and should have appeared in your case. The warning might not be in the pypi version of the library yet -- not sure."}}
{"actor":{"display_login":"aleju"}}