Skip to content

Instantly share code, notes, and snippets.

View alexjc's full-sized avatar

Alex J. Champandard alexjc

View GitHub Profile
@alexjc
alexjc / ipython-vispy.py
Created December 6, 2014 10:40
VisPy IPython Notebook Integration
#
# Add into IPython 3.x eventloops.py
#
@register_integration('vispy')
def loop_vispy(kernel):
"""Start a kernel using a VisPy backend."""
import vispy.app
vispy.app.use_app(backend_name='glfw')
@alexjc
alexjc / train_streetview.py
Created November 19, 2015 22:29
This code trains neural network for the Twitter account @StreetViewBot.
#
# Copyright (c) 2015, Alex J. Champandard.
#
# This code is CC-BY-SA https://creativecommons.org/licenses/by-sa/2.0/
#
#
# Learning to evaluate random 640x320 photos from Google Street View to determine
# if they are beautiful landscapes or not!
#

Keybase proof

I hereby claim:

  • I am alexjc on github.
  • I am alexjc (https://keybase.io/alexjc) on keybase.
  • I have a public key whose fingerprint is A44E 313C 7317 5576 C37F 59DD 3FAD 80F4 AEB2 2F58

To claim this, I am signing this object:

@alexjc
alexjc / gen.sh
Last active June 6, 2016 05:59
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 \
@alexjc
alexjc / reading-list.rst
Last active December 6, 2022 03:09
Reading List on Texture Synthesis
Domain Name Opt-Out Images
1) cdn.shopify.com YES 134,989,900
✓ Loaded data request for https://www.shopify.com/legal/terms from 20f7352cc22027d97700844b4368df8e.pkl []
✓ Retrieved Terms Of Service for https://www.shopify.com/legal/terms with 234,135 bytes of text. []
✓ Found a total of 3 matching paragraphs out of 248 in Terms Of Service. ['highlight', 'paragraph']
❝You agree not to access the Services or monitor any material or
information from the Services using any robot, spider, scraper, or
other automated means.❞