{"action":"closed","issue":{"url":"https://api.github.com/repos/JeffreyDF/kaggle_diabetic_retinopathy/issues/1","repository_url":"https://api.github.com/repos/JeffreyDF/kaggle_diabetic_retinopathy","labels_url":"https://api.github.com/repos/JeffreyDF/kaggle_diabetic_retinopathy/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyDF/kaggle_diabetic_retinopathy/issues/1/comments","events_url":"https://api.github.com/repos/JeffreyDF/kaggle_diabetic_retinopathy/issues/1/events","html_url":"https://github.com/JeffreyDF/kaggle_diabetic_retinopathy/issues/1","id":108896381,"number":1,"title":"How to make single predictions?","user":{"login":"alishakiba","id":225524,"avatar_url":"https://avatars.githubusercontent.com/u/225524?v=3","gravatar_id":"","url":"https://api.github.com/users/alishakiba","html_url":"https://github.com/alishakiba","followers_url":"https://api.github.com/users/alishakiba/followers","following_url":"https://api.github.com/users/alishakiba/following{/other_user}","gists_url":"https://api.github.com/users/alishakiba/gists{/gist_id}","starred_url":"https://api.github.com/users/alishakiba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alishakiba/subscriptions","organizations_url":"https://api.github.com/users/alishakiba/orgs","repos_url":"https://api.github.com/users/alishakiba/repos","events_url":"https://api.github.com/users/alishakiba/events{/privacy}","received_events_url":"https://api.github.com/users/alishakiba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-09-29T15:37:01Z","updated_at":"2016-11-26T21:14:55Z","closed_at":"2016-11-26T21:14:55Z","body":"Hi Dear Jeffery\n\nIn your IPython notebook, you have given instructions for predicting a set of images using a GPU implementation. However, I have used the weights and loaded the data into the network and want to make predictions for images one at a time, since I do not have access to GPUs.\n\nI think this might be possible by the following code, but it is not! Could you please help!\n\nThanks in advance\n\n```\nimg = np.array(Image.open(r'/home/ali/Desktop/data/train/1099_right.jpeg')).T / 255.0\nxs_shared[0].set_value(img[np.newaxis, :, :, :])\nxs_shared[1].set_value(np.matrix([[512, 512]]))\ncompute_output(0)\n```\n"}}
{"actor":{"display_login":"JeffreyDF"}}