Skip to content

Instantly share code, notes, and snippets.

( ´ ▽ ` )ノ

Lequn Chen abcdabcd987

( ´ ▽ ` )ノ
View GitHub Profile
abcdabcd987 /
Created Apr 13, 2017 — forked from titu1994/
Partial implementation of "Painting Style Transfer for Head Portraits using Convolutional Neural Networks".
from scipy.misc import imread, imresize, imsave
from scipy.optimize import fmin_l_bfgs_b
import numpy as np
import time
import os
import argparse
import h5py
from keras.models import Sequential
from keras.layers.convolutional import Convolution2D, ZeroPadding2D, AveragePooling2D, MaxPooling2D