{"action":"created","issue":{"url":"https://api.github.com/repos/analysiscenter/radio/issues/26","repository_url":"https://api.github.com/repos/analysiscenter/radio","labels_url":"https://api.github.com/repos/analysiscenter/radio/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/analysiscenter/radio/issues/26/comments","events_url":"https://api.github.com/repos/analysiscenter/radio/issues/26/events","html_url":"https://github.com/analysiscenter/radio/issues/26","id":381914954,"node_id":"MDU6SXNzdWUzODE5MTQ5NTQ=","number":26,"title":"sample_nodules() works strange","user":{"login":"theVmagnificient","id":42278932,"node_id":"MDQ6VXNlcjQyMjc4OTMy","avatar_url":"https://avatars2.githubusercontent.com/u/42278932?v=4","gravatar_id":"","url":"https://api.github.com/users/theVmagnificient","html_url":"https://github.com/theVmagnificient","followers_url":"https://api.github.com/users/theVmagnificient/followers","following_url":"https://api.github.com/users/theVmagnificient/following{/other_user}","gists_url":"https://api.github.com/users/theVmagnificient/gists{/gist_id}","starred_url":"https://api.github.com/users/theVmagnificient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theVmagnificient/subscriptions","organizations_url":"https://api.github.com/users/theVmagnificient/orgs","repos_url":"https://api.github.com/users/theVmagnificient/repos","events_url":"https://api.github.com/users/theVmagnificient/events{/privacy}","received_events_url":"https://api.github.com/users/theVmagnificient/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"akoryagin","id":21343055,"node_id":"MDQ6VXNlcjIxMzQzMDU1","avatar_url":"https://avatars0.githubusercontent.com/u/21343055?v=4","gravatar_id":"","url":"https://api.github.com/users/akoryagin","html_url":"https://github.com/akoryagin","followers_url":"https://api.github.com/users/akoryagin/followers","following_url":"https://api.github.com/users/akoryagin/following{/other_user}","gists_url":"https://api.github.com/users/akoryagin/gists{/gist_id}","starred_url":"https://api.github.com/users/akoryagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akoryagin/subscriptions","organizations_url":"https://api.github.com/users/akoryagin/orgs","repos_url":"https://api.github.com/users/akoryagin/repos","events_url":"https://api.github.com/users/akoryagin/events{/privacy}","received_events_url":"https://api.github.com/users/akoryagin/received_events","type":"User","site_admin":false},"assignees":[{"login":"akoryagin","id":21343055,"node_id":"MDQ6VXNlcjIxMzQzMDU1","avatar_url":"https://avatars0.githubusercontent.com/u/21343055?v=4","gravatar_id":"","url":"https://api.github.com/users/akoryagin","html_url":"https://github.com/akoryagin","followers_url":"https://api.github.com/users/akoryagin/followers","following_url":"https://api.github.com/users/akoryagin/following{/other_user}","gists_url":"https://api.github.com/users/akoryagin/gists{/gist_id}","starred_url":"https://api.github.com/users/akoryagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akoryagin/subscriptions","organizations_url":"https://api.github.com/users/akoryagin/orgs","repos_url":"https://api.github.com/users/akoryagin/repos","events_url":"https://api.github.com/users/akoryagin/events{/privacy}","received_events_url":"https://api.github.com/users/akoryagin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-18T00:25:44Z","updated_at":"2018-12-03T15:36:02Z","closed_at":null,"author_association":"NONE","body":"```\r\nfrom radio.preprocessing.utils import get_nodules_pixel_coords, show_slices\r\nget_nodules_pixel_coords(batch)\r\n```\r\nreturns dataframe with 8 nodules\r\n\r\n```\r\nfrom radio.preprocessing.utils import num_of_cancerous_pixels\r\nnum_of_cancerous_pixels(batch)\r\n```\r\nreturns 1 scan with 2k nodules pixels\r\n\r\nHowever when I'm trying to attach` sample_nodules(batch_size=None, nodule_size=(16, 32, 32), share=1.0)` to the current pipeline and calling \r\n`batch_crops = (dicom_dataset >> crops_sampling_pipeline).next_batch(20)`\r\n\r\nI'm getting nothing here despite I used share = 1.0\r\n`get_nodules_pixel_coords(batch_crops).head(1)`"},"comment":{"url":"https://api.github.com/repos/analysiscenter/radio/issues/comments/443752868","html_url":"https://github.com/analysiscenter/radio/issues/26#issuecomment-443752868","issue_url":"https://api.github.com/repos/analysiscenter/radio/issues/26","id":443752868,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc1Mjg2OA==","user":{"login":"akoryagin","id":21343055,"node_id":"MDQ6VXNlcjIxMzQzMDU1","avatar_url":"https://avatars0.githubusercontent.com/u/21343055?v=4","gravatar_id":"","url":"https://api.github.com/users/akoryagin","html_url":"https://github.com/akoryagin","followers_url":"https://api.github.com/users/akoryagin/followers","following_url":"https://api.github.com/users/akoryagin/following{/other_user}","gists_url":"https://api.github.com/users/akoryagin/gists{/gist_id}","starred_url":"https://api.github.com/users/akoryagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akoryagin/subscriptions","organizations_url":"https://api.github.com/users/akoryagin/orgs","repos_url":"https://api.github.com/users/akoryagin/repos","events_url":"https://api.github.com/users/akoryagin/events{/privacy}","received_events_url":"https://api.github.com/users/akoryagin/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T15:36:02Z","updated_at":"2018-12-03T15:36:02Z","author_association":"NONE","body":"Hello, @theVmagnificient!\r\n\r\nThanks for the issue!\r\nIt does look strange. It seems to me, though, that there is some incidental `shuffle=True` that changes the order of iteration through the dataset. Another possibility is that `batch` is not the first batch, generated by corresponding `pipeline`.\r\nIn any case, it would very helpful if you could provide us with the full gist, that leads to this result.\r\n\r\nBest,\r\nAlex"}}
{"actor":{"display_login":"akoryagin"}}