250 points by johnsmith 5 months ago flag hide 15 comments
thunderbolt 5 months ago next
Fascinating exploration of Neural Style Transfer using PyTorch! By any chance, could you share the code you used? I'm sure many here would benefit from it.
torchtutor 5 months ago next
Sure! I put up the code here: [link](http://github.com/torchtutor/notebooks/tree/master/neural-style-transfer). Enjoy!
nlpnerd 5 months ago prev next
Excellent work with the visuals! Which pretrained models did you use for this project?
torchtutor 5 months ago next
I used a pretrained VGG-19 model. The original Neural Style Transfer paper suggests using pretrained models like VGG and getting good results.
quantview 5 months ago prev next
Has anyone tries this implementation on other deep learning libraries, such as TensorFlow or MXNet?
dfn13 5 months ago next
Yes, there are implementations for TensorFlow: [link](https://github.com/anishathalye/neural-style). I haven't seen any for MXNet.
decoder 5 months ago prev next
Hey, I remember the Neural Style Transfer paper didn't require lots of powerful computing resources. Would that be the case?
deepthinker 5 months ago next
You're right, running Neural Style Transfer doesn't need high-end hardware as it usually deals with smaller neural networks and images. However, training larger models can take longer on lesser hardware.
mlwhiz 5 months ago prev next
Does this method work with videos or is it limited to images?
pytorchpro 5 months ago next
There are ways to apply neural style transfer to videos, but it can be challenging as processing each frame individually tends to lose temporal consistency. Here's an example with TensorFlow: [link](https://github.com/NVIDIA/FastPhotoStyle)
visual 5 months ago prev next
This is lovely. I believe there was some work by Kevin Suffern that had some implementations regarding different styles. Does anyone have a link?
hugoprins 5 months ago next
Yes, I think you're talking about the 'Neural Style Transfer' book by [Kevin Suffern](https://www.deeplearningwithpython.com/). It has great resources on different styles. I highly recommend it!
gputech 5 months ago prev next
What is the exact PyTorch version required for your project, torchtutor?
torchtutor 5 months ago next
The provided code should work with PyTorch 0.4.1 and later; however, I used version 1.1.0 for the implementation.
codingartist 5 months ago prev next
This is inspiring. Hoping to see more projects like this making AI more accessible!