{"action":"created","issue":{"url":"https://api.github.com/repos/jakeret/tf_unet/issues/235","repository_url":"https://api.github.com/repos/jakeret/tf_unet","labels_url":"https://api.github.com/repos/jakeret/tf_unet/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/jakeret/tf_unet/issues/235/comments","events_url":"https://api.github.com/repos/jakeret/tf_unet/issues/235/events","html_url":"https://github.com/jakeret/tf_unet/issues/235","id":393591956,"node_id":"MDU6SXNzdWUzOTM1OTE5NTY=","number":235,"title":"Magic numbers in_size, size, offset","user":{"login":"gabrielleyr","id":11844767,"node_id":"MDQ6VXNlcjExODQ0NzY3","avatar_url":"https://avatars2.githubusercontent.com/u/11844767?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielleyr","html_url":"https://github.com/gabrielleyr","followers_url":"https://api.github.com/users/gabrielleyr/followers","following_url":"https://api.github.com/users/gabrielleyr/following{/other_user}","gists_url":"https://api.github.com/users/gabrielleyr/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielleyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielleyr/subscriptions","organizations_url":"https://api.github.com/users/gabrielleyr/orgs","repos_url":"https://api.github.com/users/gabrielleyr/repos","events_url":"https://api.github.com/users/gabrielleyr/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielleyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-21T21:11:08Z","updated_at":"2018-12-26T10:35:46Z","closed_at":null,"author_association":"NONE","body":"In unet.py, any clue what these lines mean? \r\n\r\nL77    in_size = 1000 ## ??\r\nL78    size = in_size\r\n...\r\nL102-106: The 'size' variable is decremented by 4 in a for loop of layers\r\n            size -= 4\r\n            if layer < layers - 1:\r\n                pools[layer] = max_pool(dw_h_convs[layer], pool_size)\r\n                in_node = pools[layer]\r\n                size /= 2\r\n\r\nOffset is set in the crop_and_concat function in layers.py, and seems to have to do with cropping the image. \r\n\r\nAny insight into how to set these variables? I'm trying to implement a 3D-conv version. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jakeret/tf_unet/issues/comments/449947052","html_url":"https://github.com/jakeret/tf_unet/issues/235#issuecomment-449947052","issue_url":"https://api.github.com/repos/jakeret/tf_unet/issues/235","id":449947052,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTk0NzA1Mg==","user":{"login":"jakeret","id":11830719,"node_id":"MDQ6VXNlcjExODMwNzE5","avatar_url":"https://avatars0.githubusercontent.com/u/11830719?v=4","gravatar_id":"","url":"https://api.github.com/users/jakeret","html_url":"https://github.com/jakeret","followers_url":"https://api.github.com/users/jakeret/followers","following_url":"https://api.github.com/users/jakeret/following{/other_user}","gists_url":"https://api.github.com/users/jakeret/gists{/gist_id}","starred_url":"https://api.github.com/users/jakeret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakeret/subscriptions","organizations_url":"https://api.github.com/users/jakeret/orgs","repos_url":"https://api.github.com/users/jakeret/repos","events_url":"https://api.github.com/users/jakeret/events{/privacy}","received_events_url":"https://api.github.com/users/jakeret/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T10:35:46Z","updated_at":"2018-12-26T10:35:46Z","author_association":"OWNER","body":"I use these to compute the size of the output image. Not very elegant but I couldn't figure out an other way back then"}}
{"actor":{"display_login":"jakeret"}}