ProGamerGov

Results 515 comments of ProGamerGov

Looking into where the functions are located in Gatys' code here: https://github.com/leongatys/NeuralImageSynthesis/blob/master/ExampleNotebooks/ColourControl.ipynb `lum_transform` seems to come before the style transfer process: ``` if cp_mode == 'lum': org_content = imgs['content'].copy() for...

@htoyryla If they are working for you, then it could have been something weird with the instance I was running, or a corrupted/incorrect prototxt file with the same name.

So using this terrible and messy code: https://gist.github.com/ProGamerGov/ba9a9d54bae53e84ebf0116262df6758 I think I have achieved luminescence style transfer without editing neural_style.lua: --- Images used: https://github.com/leongatys/NeuralImageSynthesis/blob/master/Images/ControlPaper/fig3_style1.jpg https://github.com/leongatys/NeuralImageSynthesis/blob/master/Images/ControlPaper/fig3_content.jpg --- ## Step 1: First you...

Looking at the research paper's examples, and my examples, it seems really difficult to actually see the difference between Luminescence Style Transfer, and normal style transfer. @htoyryla Your modifications to...

So I have now made I refined version of my lum_transfer.py script: https://gist.github.com/ProGamerGov/2e7a0fe7a5ef6e117dc0be81df243331 Now the process only takes 4 commands (including neural_style.lua) to complete: ``` python linear-color-transfer.py --target_image fig3_style1.jpg --source_image...

@VaKonS This is the specific part of the script in which the resizing needs to take place: ``` elif cp_mode == 'lum2': output = args.output_lum2 org_content = args.org_content org_content =...

This is the control image with no modifications: ![](https://i.imgur.com/TDJ7twEl.png) This the control image run through the last lum_transfer.py step: ![](https://i.imgur.com/YLAexgKl.png) This is the output I made following the steps I...

Maybe it is just the style image's luminance? Following the luminance transfer steps on this [new style image](https://i.imgur.com/BPb6E8Y.jpg), results in this: ![](https://i.imgur.com/AKGBtSR.png) Control Test with the last lum_transfer step and...

Theses are the results of my luminance tests for iteration count, and `-image_size`: ![](https://i.imgur.com/xLLukchl.jpg) Full image here (with labels): https://i.imgur.com/xLLukch.png Full image here (without labels): https://i.imgur.com/DY4dvt9.png From this album of...

@VaKonS Thanks for the help, using `skimage.transform.resize` did the trick: `org_content = skimage.transform.resize(org_content, output.shape)` https://gist.github.com/ProGamerGov/2e7a0fe7a5ef6e117dc0be81df243331 The script now doesn't require the user to do any manual resizing.