{"action":"created","issue":{"url":"https://api.github.com/repos/andersbll/neural_artistic_style/issues/21","repository_url":"https://api.github.com/repos/andersbll/neural_artistic_style","labels_url":"https://api.github.com/repos/andersbll/neural_artistic_style/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/andersbll/neural_artistic_style/issues/21/comments","events_url":"https://api.github.com/repos/andersbll/neural_artistic_style/issues/21/events","html_url":"https://github.com/andersbll/neural_artistic_style/issues/21","id":109889952,"number":21,"title":"Reducing Memory Usage?","user":{"login":"dsrubin","id":2693973,"avatar_url":"https://avatars.githubusercontent.com/u/2693973?v=3","gravatar_id":"","url":"https://api.github.com/users/dsrubin","html_url":"https://github.com/dsrubin","followers_url":"https://api.github.com/users/dsrubin/followers","following_url":"https://api.github.com/users/dsrubin/following{/other_user}","gists_url":"https://api.github.com/users/dsrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/dsrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsrubin/subscriptions","organizations_url":"https://api.github.com/users/dsrubin/orgs","repos_url":"https://api.github.com/users/dsrubin/repos","events_url":"https://api.github.com/users/dsrubin/events{/privacy}","received_events_url":"https://api.github.com/users/dsrubin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-10-05T21:28:22Z","updated_at":"2016-03-30T01:33:15Z","closed_at":null,"body":"Hi,\r\n\r\nMy background is more in distributed systems than neural networks, but I managed to get this running with GPU support enabled and am just wondering if there is a way to reduce memory usage. My graphics card only has 4GB of memory which limits me to processing at most roughly 500x500 pixels.\r\n\r\nWhen running another implementation of this algorithm on CPU I am able to use my entire 16gb of CPU memory which allows me to do much larger pictures, but much MUCH slower. Is there any way to reduce memory overhead via code changes or configuration changes? Is it possible to process only part of the image at once, then re-merge the pieces of the image at the end? I suspect doing that would cause some issues along the boarders. \r\n\r\nYour insight is appreciated, thanks :)"},"comment":{"url":"https://api.github.com/repos/andersbll/neural_artistic_style/issues/comments/203184407","html_url":"https://github.com/andersbll/neural_artistic_style/issues/21#issuecomment-203184407","issue_url":"https://api.github.com/repos/andersbll/neural_artistic_style/issues/21","id":203184407,"user":{"login":"errolgr","id":12604227,"avatar_url":"https://avatars.githubusercontent.com/u/12604227?v=3","gravatar_id":"","url":"https://api.github.com/users/errolgr","html_url":"https://github.com/errolgr","followers_url":"https://api.github.com/users/errolgr/followers","following_url":"https://api.github.com/users/errolgr/following{/other_user}","gists_url":"https://api.github.com/users/errolgr/gists{/gist_id}","starred_url":"https://api.github.com/users/errolgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errolgr/subscriptions","organizations_url":"https://api.github.com/users/errolgr/orgs","repos_url":"https://api.github.com/users/errolgr/repos","events_url":"https://api.github.com/users/errolgr/events{/privacy}","received_events_url":"https://api.github.com/users/errolgr/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T01:33:15Z","updated_at":"2016-03-30T01:33:15Z","body":"@filmo Could you share your config? Are you using ADAM? Also which model are you using? Even if I were to disable my monitor, I would assume that I could barely get over 1000px as I sometimes cap at 900x900. \r\n\r\n@alexjc I gave Lasagne a try, was able to get up to about 1300x900. Mind sharing some insights between lasagne and keros?"}}