Skip to content

A package of Wide Residual Networks for image recognition in Keras.

License

Notifications You must be signed in to change notification settings

hypnopump/keras-wrn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wide Residual Networks in Keras

Build Status

A package of Wide Residual Networks for image recognition in Keras.

keras-wrn is the Keras package for Wide Residual Networks. It's fast and flexible.

Wide ResNets are faster to train and more accurate than traditional ResNets, even when pre-activation structure is used.

Quick example

import keras

import keras_wrn

shape, classes = (32, 32, 3), 10

model = keras_wrn.build_model(shape, classes, 16, 4)

model.compile("adam", "categorical_crossentropy", ["accuracy"])

(x_train, y_train), (_, _) = keras.datasets.cifar10.load_data()

y_train = keras.utils.np_utils.to_categorical(y_train)

model.fit(x_train, y_train, epochs=10)

Contribute

Hey there! New ideas are welcome: open/close issues, fork the repo and share your code with a Pull Request.

Clone this project to your computer:

git clone https://github.com/EricAlcaide/keras-wrn

By participating in this project, you agree to abide by the thoughtbot code of conduct

Meta

About

A package of Wide Residual Networks for image recognition in Keras.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages