This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Trains a simple convnet on the MNIST dataset. | |
Does flat increment from T. Xiao "Error-Driven Incremental Learning in Deep Convolutional | |
Neural Network for Large-Scale Image Classification" | |
Starts with just 3 classes, trains for 12 epochs then | |
incrementally trains the rest of the classes by reusing | |
the trained weights. | |
''' | |
from __future__ import print_function | |
import numpy as np |