Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@alexjc
Last active June 6, 2016 05:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexjc/d91dd9145cbe7f9a9782289d2b54b07f to your computer and use it in GitHub Desktop.
Save alexjc/d91dd9145cbe7f9a9782289d2b54b07f to your computer and use it in GitHub Desktop.
Generate New Textures from examples using Extreme Style Machines
# Command lines to reproduce my "Extreme Style Machines" blog post:
# https://nucl.ai/blog/extreme-style-machines/
# Code was pushed here, specifically [c17e91c] was tested:
# https://github.com/alexjc/neural-doodle/tree/random
# SAND TEXTURE
# http://i.imgur.com/fRfRNHb.jpg
python3.5 doodle.py --style samples/Sand.small.jpg --output SandTest.png --output-size=512x512 \
--iterations=10 --phases=4 --print-every=1 --save-every=1 \
--variety=0.2 --style-weight=10000.0 --smoothness=0.1
# GRASS TEXTURE
# http://i.imgur.com/zggCbG0.jpg
python3.5 doodle.py --style samples/Grass.small.jpg --output GrassTest.png --output-size=512x512 \
--iterations=10 --phases=4 --print-every=1 --save-every=1 \
--variety=0.2 --style-weight=10000.0 --smoothness=0.1
# WALL TEXTURE
# http://i.imgur.com/6hXnMxK.jpg
python3.5 doodle.py --style samples/Wall.small.jpg --output WallTest.png --output-size=512x512 \
--iterations=10 --phases=4 --print-every=1 --save-every=1 \
--variety=0.2 --style-weight=10000.0 --smoothness=0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment