Skip to main content

No project description provided

Project description

https://travis-ci.org/broadinstitute/keras-resnet.svg?branch=master

keras-resnet is the Keras package for deep residual networks. It’s fast and flexible.

A tantalizing preview of keras-resnet simplicity:

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

>>> x = keras.layers.Input(shape)

>>> y = keras_resnet.ResNet50(x)

>>> y = keras.layers.Dense(classes)(y)

>>> y = keras.layers.Flatten()(y.output)

>>> model = keras.models.Model(x, y)

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

>>> (training_x, training_y), (_, _) = keras.datasets.cifar10.load_data()

>>> training_y = keras.utils.np_utils.to_categorical(training_y)

>>> model.fit(training_x, training_y)

Installation

Installation couldn’t be easier:

$ pip install keras-resnet

Contributing

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.

  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).

  3. Write a test which shows that the bug was fixed or that the feature works as expected.

  4. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keras-resnet-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file keras-resnet-0.0.2.tar.gz.

File metadata

File hashes

Hashes for keras-resnet-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7a93af42c8840a2a9ae60ca8638bed5f58860fd822c125e124243d4d39fcbcc3
MD5 666ecf4c4a48a8493eaa046cc5acd530
BLAKE2b-256 34adde3cd06997efa2c1f4f2557d1e71931b0ed51388809ac111989a71c80bc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page