ProGamerGov
ProGamerGov
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: The control test with Neural-Style is on the left, and the results of my PyTorch code are...
So I noticed that I still had the content and style layers set to their [pre-layer fix values](https://gist.github.com/ProGamerGov/89973941721107f0bf713edfcfb467cf/35d1d8a7c20a494ec5fb65b26496635cf9ab851b#file-neural_style-py-L45-L46), so I changed them to the defaults in Neural-Style. Now it seems...
PyTorch's [`transforms.Resize()`](http://pytorch.org/docs/master/torchvision/transforms.html#torchvision.transforms.Resize) resizes images in a way that makes the smallest side is equal to the specified image size. Neural-Style uses the Image library with the [scale function](https://github.com/torch/image/blob/master/doc/simpletransform.md#res-imagescalesrc-width-height-mode), which resizes...
I had guess that my code for finding the resize dimensions, was horribly inefficient, but I wasn't quiet sure how to condense it because I forgot about Python's `max` function....
So I tried to clean up the code, improve readability and remove unnecessary things. If the new code setup is better than the current one, I'll replace the current code...
I made some GPU usage and speed comparisons, using a Tesla K80: Project | CUDA/cuDNN | Basic Command | Optimized Command --- | --- | --- | --- Neural-Style |...
Using these parameters: ``` python neural_style.py -gpu 0 -backend cudnn -cudnn_autotune -num_iterations 500 -optimizer adam ``` I think that I can get the correct loss values while preserving the increased...
The [PyTorch site](http://pytorch.org/) says that PyTorch is still in "early-release Beta", and the latest pip version is v0.3.1. I'm pretty sure that Torch7 has been in development for a longer...
I think that you can get version 0.4 by installing directly from the source: https://github.com/pytorch/pytorch#from-source It also occurs to me that I have Torch7 installed from the source, while I...
So my PyTorch code currently will do an extra 20 iterations past the `-num_iterations` value for L-BFGS, and a single extra iteration for Adam. I think that I should be...