├── .gitignore ├── README.md ├── RunNetworkExample.ipynb ├── TrainNetworkExample.ipynb ├── doc ├── flags.md └── training.md ├── fast_neural_style.lua ├── fast_neural_style ├── ContentLoss.lua ├── DataLoader.lua ├── DeepDreamLoss.lua ├── GramMatrix.lua ├── GramMatrixGuided.lua ├── InstanceNormalization.lua ├── PerceptualCriterion.lua ├── ShaveImage.lua ├── StyleLoss.lua ├── StyleLossGuided.lua ├── TotalVariation.lua ├── layer_utils.lua ├── models.lua ├── preprocess.lua └── utils.lua ├── images ├── blank.png ├── content │ ├── afghan_girl_cropped.jpg │ ├── afghan_girl_cropped_lum.jpg │ ├── chicago.jpg │ ├── hoovertowernight.jpg │ └── white_noise.jpg ├── guides │ ├── afghan_girl_cropped_background.jpg │ ├── afghan_girl_cropped_person.jpg │ ├── candy_over_feathers_candy.jpg │ ├── candy_over_feathers_feathers.jpg │ ├── white_noise_bottom.jpg │ ├── white_noise_left.jpg │ ├── white_noise_right.jpg │ └── white_noise_top.jpg ├── outputs │ ├── chicago_candy.jpg │ ├── chicago_feathers.jpg │ ├── chicago_mosaic.jpg │ ├── chicago_muse.jpg │ ├── chicago_scream.jpg │ ├── chicago_udnie.jpg │ ├── eccv16 │ │ ├── chicago_composition_vii.jpg │ │ ├── chicago_la_muse.jpg │ │ ├── chicago_starry_night.jpg │ │ └── chicago_wave.jpg │ ├── hoovertowernight_candy.jpg │ └── hoovertowernight_la_muse_eccv.jpg ├── styles │ ├── candy.jpg │ ├── candy_over_feathers.jpg │ ├── composition_vii.jpg │ ├── feathers.jpg │ ├── la_muse.jpg │ ├── mosaic.jpg │ ├── starry_night.jpg │ ├── starry_night_crop.jpg │ ├── the_scream.jpg │ ├── udnie.jpg │ ├── wave.jpg │ └── wave_crop.jpg └── webcam.gif ├── models ├── download_leon_models.sh ├── download_style_transfer_models.sh ├── download_vgg16.sh ├── eccv16 │ └── .gitignore └── instance_norm │ └── .gitignore ├── print_options.lua ├── requirements.txt ├── scripts ├── convert_network.lua ├── make_style_dataset.py └── show_opts.py ├── slow_neural_style.lua ├── test ├── layer_utils_test.lua └── test_nets.lua ├── train.lua └── webcam_demo.lua /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/README.md -------------------------------------------------------------------------------- /RunNetworkExample.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/RunNetworkExample.ipynb -------------------------------------------------------------------------------- /TrainNetworkExample.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/TrainNetworkExample.ipynb -------------------------------------------------------------------------------- /doc/flags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/doc/flags.md -------------------------------------------------------------------------------- /doc/training.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/doc/training.md -------------------------------------------------------------------------------- /fast_neural_style.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style.lua -------------------------------------------------------------------------------- /fast_neural_style/ContentLoss.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/ContentLoss.lua -------------------------------------------------------------------------------- /fast_neural_style/DataLoader.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/DataLoader.lua -------------------------------------------------------------------------------- /fast_neural_style/DeepDreamLoss.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/DeepDreamLoss.lua -------------------------------------------------------------------------------- /fast_neural_style/GramMatrix.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/GramMatrix.lua -------------------------------------------------------------------------------- /fast_neural_style/GramMatrixGuided.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/GramMatrixGuided.lua -------------------------------------------------------------------------------- /fast_neural_style/InstanceNormalization.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/InstanceNormalization.lua -------------------------------------------------------------------------------- /fast_neural_style/PerceptualCriterion.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/PerceptualCriterion.lua -------------------------------------------------------------------------------- /fast_neural_style/ShaveImage.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/ShaveImage.lua -------------------------------------------------------------------------------- /fast_neural_style/StyleLoss.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/StyleLoss.lua -------------------------------------------------------------------------------- /fast_neural_style/StyleLossGuided.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/StyleLossGuided.lua -------------------------------------------------------------------------------- /fast_neural_style/TotalVariation.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/TotalVariation.lua -------------------------------------------------------------------------------- /fast_neural_style/layer_utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/layer_utils.lua -------------------------------------------------------------------------------- /fast_neural_style/models.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/models.lua -------------------------------------------------------------------------------- /fast_neural_style/preprocess.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/preprocess.lua -------------------------------------------------------------------------------- /fast_neural_style/utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/fast_neural_style/utils.lua -------------------------------------------------------------------------------- /images/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/blank.png -------------------------------------------------------------------------------- /images/content/afghan_girl_cropped.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/content/afghan_girl_cropped.jpg -------------------------------------------------------------------------------- /images/content/afghan_girl_cropped_lum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/content/afghan_girl_cropped_lum.jpg -------------------------------------------------------------------------------- /images/content/chicago.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/content/chicago.jpg -------------------------------------------------------------------------------- /images/content/hoovertowernight.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/content/hoovertowernight.jpg -------------------------------------------------------------------------------- /images/content/white_noise.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/content/white_noise.jpg -------------------------------------------------------------------------------- /images/guides/afghan_girl_cropped_background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/afghan_girl_cropped_background.jpg -------------------------------------------------------------------------------- /images/guides/afghan_girl_cropped_person.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/afghan_girl_cropped_person.jpg -------------------------------------------------------------------------------- /images/guides/candy_over_feathers_candy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/candy_over_feathers_candy.jpg -------------------------------------------------------------------------------- /images/guides/candy_over_feathers_feathers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/candy_over_feathers_feathers.jpg -------------------------------------------------------------------------------- /images/guides/white_noise_bottom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/white_noise_bottom.jpg -------------------------------------------------------------------------------- /images/guides/white_noise_left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/white_noise_left.jpg -------------------------------------------------------------------------------- /images/guides/white_noise_right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/white_noise_right.jpg -------------------------------------------------------------------------------- /images/guides/white_noise_top.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/guides/white_noise_top.jpg -------------------------------------------------------------------------------- /images/outputs/chicago_candy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/chicago_candy.jpg -------------------------------------------------------------------------------- /images/outputs/chicago_feathers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/chicago_feathers.jpg -------------------------------------------------------------------------------- /images/outputs/chicago_mosaic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/chicago_mosaic.jpg -------------------------------------------------------------------------------- /images/outputs/chicago_muse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/chicago_muse.jpg -------------------------------------------------------------------------------- /images/outputs/chicago_scream.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/chicago_scream.jpg -------------------------------------------------------------------------------- /images/outputs/chicago_udnie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/chicago_udnie.jpg -------------------------------------------------------------------------------- /images/outputs/eccv16/chicago_composition_vii.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/eccv16/chicago_composition_vii.jpg -------------------------------------------------------------------------------- /images/outputs/eccv16/chicago_la_muse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/eccv16/chicago_la_muse.jpg -------------------------------------------------------------------------------- /images/outputs/eccv16/chicago_starry_night.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/eccv16/chicago_starry_night.jpg -------------------------------------------------------------------------------- /images/outputs/eccv16/chicago_wave.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/eccv16/chicago_wave.jpg -------------------------------------------------------------------------------- /images/outputs/hoovertowernight_candy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/hoovertowernight_candy.jpg -------------------------------------------------------------------------------- /images/outputs/hoovertowernight_la_muse_eccv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/outputs/hoovertowernight_la_muse_eccv.jpg -------------------------------------------------------------------------------- /images/styles/candy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/candy.jpg -------------------------------------------------------------------------------- /images/styles/candy_over_feathers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/candy_over_feathers.jpg -------------------------------------------------------------------------------- /images/styles/composition_vii.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/composition_vii.jpg -------------------------------------------------------------------------------- /images/styles/feathers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/feathers.jpg -------------------------------------------------------------------------------- /images/styles/la_muse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/la_muse.jpg -------------------------------------------------------------------------------- /images/styles/mosaic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/mosaic.jpg -------------------------------------------------------------------------------- /images/styles/starry_night.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/starry_night.jpg -------------------------------------------------------------------------------- /images/styles/starry_night_crop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/starry_night_crop.jpg -------------------------------------------------------------------------------- /images/styles/the_scream.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/the_scream.jpg -------------------------------------------------------------------------------- /images/styles/udnie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/udnie.jpg -------------------------------------------------------------------------------- /images/styles/wave.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/wave.jpg -------------------------------------------------------------------------------- /images/styles/wave_crop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/styles/wave_crop.jpg -------------------------------------------------------------------------------- /images/webcam.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/images/webcam.gif -------------------------------------------------------------------------------- /models/download_leon_models.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/models/download_leon_models.sh -------------------------------------------------------------------------------- /models/download_style_transfer_models.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/models/download_style_transfer_models.sh -------------------------------------------------------------------------------- /models/download_vgg16.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/models/download_vgg16.sh -------------------------------------------------------------------------------- /models/eccv16/.gitignore: -------------------------------------------------------------------------------- 1 | *.t7 2 | -------------------------------------------------------------------------------- /models/instance_norm/.gitignore: -------------------------------------------------------------------------------- 1 | *.t7 2 | -------------------------------------------------------------------------------- /print_options.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/print_options.lua -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/convert_network.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/scripts/convert_network.lua -------------------------------------------------------------------------------- /scripts/make_style_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/scripts/make_style_dataset.py -------------------------------------------------------------------------------- /scripts/show_opts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/scripts/show_opts.py -------------------------------------------------------------------------------- /slow_neural_style.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/slow_neural_style.lua -------------------------------------------------------------------------------- /test/layer_utils_test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/test/layer_utils_test.lua -------------------------------------------------------------------------------- /test/test_nets.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/test/test_nets.lua -------------------------------------------------------------------------------- /train.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/train.lua -------------------------------------------------------------------------------- /webcam_demo.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leongatys/fast-neural-style/HEAD/webcam_demo.lua --------------------------------------------------------------------------------