HuiliChen / Keras-RCNN

Recurrent Convolutional Neural Networks in Keras

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keras-RCNN

Some experimenting with Keras to build Recurrent Convolutional Neural Networks, based on the paper Recurrent Convolutional Neural Network for Object Recognition.

# Build a model
model = BuildRCNN(nbChannels, shape1, shape2, nbClasses, nbRCL, nbFilters, filtersize)

#Compile it
model.compile(loss = 'categorical_crossentropy', optimizer = 'adam', metrics = ['accuracy'])

#fit
model.fit(X_train, y_train, batch_size=64, nb_epoch=100, validation_data = (X_valid, y_valid))

About

Recurrent Convolutional Neural Networks in Keras


Languages

Language:Python 100.0%