Skip to content

Instantly share code, notes, and snippets.

@DSLituiev
DSLituiev / chainer_ca.py
Created November 19, 2015 02:58 — forked from ktnyt/chainer_ca.py
Refactored code for a Convolutional Autoencoder implemented with Chainer.
import argparse
import numpy as np
from chainer import Variable, FunctionSet, optimizers, cuda
import chainer.functions as F
import cv2
import random
import cPickle as pickle
import sys
class ConvolutionalAutoencoder(FunctionSet):