Skip to content

Instantly share code, notes, and snippets.

Avatar
😄
( ´ ▽ ` )ノ

Lequn Chen abcdabcd987

😄
( ´ ▽ ` )ノ
View GitHub Profile
@abcdabcd987
abcdabcd987 / PortraitStyleTransfer.py
Created Apr 13, 2017 — forked from titu1994/PortraitStyleTransfer.py
Partial implementation of "Painting Style Transfer for Head Portraits using Convolutional Neural Networks".
View PortraitStyleTransfer.py
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
You can’t perform that action at this time.