Skip to content

Instantly share code, notes, and snippets.

View phunghx's full-sized avatar

Phung Huynh Xuan phunghx

  • ho ci minh city
View GitHub Profile
@tdeboissiere
tdeboissiere / test_fit_generator.py
Created May 16, 2016 06:29
Keras fit_generator speed test
from __future__ import print_function
import numpy as np
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.convolutional import Convolution2D, MaxPooling2D
from keras.utils import np_utils
from keras.utils import generic_utils
import multiprocessing
import os
import time