{"action":"created","issue":{"url":"https://api.github.com/repos/jcjohnson/neural-style/issues/450","repository_url":"https://api.github.com/repos/jcjohnson/neural-style","labels_url":"https://api.github.com/repos/jcjohnson/neural-style/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/jcjohnson/neural-style/issues/450/comments","events_url":"https://api.github.com/repos/jcjohnson/neural-style/issues/450/events","html_url":"https://github.com/jcjohnson/neural-style/issues/450","id":298451142,"number":450,"title":"Any ports to Python?","user":{"login":"rraallvv","id":1840524,"avatar_url":"https://avatars3.githubusercontent.com/u/1840524?v=4","gravatar_id":"","url":"https://api.github.com/users/rraallvv","html_url":"https://github.com/rraallvv","followers_url":"https://api.github.com/users/rraallvv/followers","following_url":"https://api.github.com/users/rraallvv/following{/other_user}","gists_url":"https://api.github.com/users/rraallvv/gists{/gist_id}","starred_url":"https://api.github.com/users/rraallvv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rraallvv/subscriptions","organizations_url":"https://api.github.com/users/rraallvv/orgs","repos_url":"https://api.github.com/users/rraallvv/repos","events_url":"https://api.github.com/users/rraallvv/events{/privacy}","received_events_url":"https://api.github.com/users/rraallvv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":64,"created_at":"2018-02-20T02:08:04Z","updated_at":"2018-04-13T08:07:55Z","closed_at":null,"author_association":"NONE","body":"I'm struggling to get the Lua script to run on a Jupyter Notebook on [Google Colab](http://colab.research.google.com) but can't get past [this error](https://github.com/torch/cutorch/issues/435). Only building the dependencies with Luarocks took me about an hour, but since I went offline the virtual machine was restarted and I'll have to start all over.\r\n\r\nDoes anyone know of a port to Python? ...or, maybe some transcompiler to convert the Lua script to Python?\r\n\r\nI'm asking because both languages are very similar, also my guess is that all dependencies should be available for Python too, since it's kind of the de-facto programming language when working with those kind of things.\r\n\r\nKeep up the good work!"},"comment":{"url":"https://api.github.com/repos/jcjohnson/neural-style/issues/comments/381058455","html_url":"https://github.com/jcjohnson/neural-style/issues/450#issuecomment-381058455","issue_url":"https://api.github.com/repos/jcjohnson/neural-style/issues/450","id":381058455,"user":{"login":"ProGamerGov","id":10626398,"avatar_url":"https://avatars1.githubusercontent.com/u/10626398?v=4","gravatar_id":"","url":"https://api.github.com/users/ProGamerGov","html_url":"https://github.com/ProGamerGov","followers_url":"https://api.github.com/users/ProGamerGov/followers","following_url":"https://api.github.com/users/ProGamerGov/following{/other_user}","gists_url":"https://api.github.com/users/ProGamerGov/gists{/gist_id}","starred_url":"https://api.github.com/users/ProGamerGov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProGamerGov/subscriptions","organizations_url":"https://api.github.com/users/ProGamerGov/orgs","repos_url":"https://api.github.com/users/ProGamerGov/repos","events_url":"https://api.github.com/users/ProGamerGov/events{/privacy}","received_events_url":"https://api.github.com/users/ProGamerGov/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T08:07:55Z","updated_at":"2018-04-13T08:07:55Z","author_association":"NONE","body":"I am also having issues recreating the results from Neural-Style's [multires.sh](https://github.com/jcjohnson/neural-style/blob/master/examples/multigpu_scripts/starry_stanford.sh) example script: \r\n\r\n\r\nThe control test with Neural-Style is on the left, and the results of my PyTorch code are on the right:\r\n\r\n<p align='center'>\r\n  <img src='https://user-images.githubusercontent.com/10626398/38648298-b5967b18-3dad-11e8-83f8-0ca133737c7e.png' height='194' width='290'/>\r\n  <img src='https://user-images.githubusercontent.com/10626398/38648321-d4472f76-3dad-11e8-8276-fed30e727fa7.png' height='194' width='290'/>\r\n</p>\r\n\r\nI am not sure if there is an issue somewhere with my code, or if the parameters need to be changed in order to match Neural-Style's results. I have tried changing the parameters I use with my code, but I can't get anything like the results from Neural-Style.\r\n\r\nThe `-init_image` parameter also may not be working correctly? Because this was supposed to be step 2, but it doesn't look right:\r\n\r\n![out2](https://user-images.githubusercontent.com/10626398/38648615-67baaaac-3daf-11e8-90fe-7b84d47551a2.png)\r\n\r\n\r\nThis is what step 2 looks like in Neural-Style: \r\n\r\n![out2](https://user-images.githubusercontent.com/10626398/38723809-780480f2-3ebf-11e8-8e7a-e81846e62a32.png)\r\n\r\n\r\n---\r\n\r\n\r\nBecause the code already works well (minus a few things), perhaps it may be wise to publish as a new Github project in order to attract more eyes to it (for solving the gradient related issues). I have all of the example outputs made, except for the multires script output image. I was thinking of calling it \"neural-style-pt\", but I was wondering what your thoughts were on the name? \r\n\r\n\r\n"}}
{"actor":{"display_login":"ProGamerGov"}}