Skip to main content

Image classification models for Keras

Project description

Large-scale image classification networks

Collection of large-scale image classification models on Keras (with MXNet backend), pretrained on the ImageNet-1k dataset.

Installation

To install, use:

pip install kerascv mxnet>=1.2.1

To enable different hardware supports such as GPUs, check out MXNet variants. For example, you can install with CUDA-9.2 supported MXNet:

pip install kerascv mxnet-cu92>=1.2.1

After installation change the value of the field image_data_format to channels_first in the file ~/.keras/keras.json.

Usage

Example of using the pretrained ResNet-18 model:

from kerascv.model_provider import get_model as kecv_get_model
net = kecv_get_model("resnet18", pretrained=True)

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

kerascv-0.0.16.tar.gz (35.0 kB view hashes)

Uploaded Source

Built Distribution

kerascv-0.0.16-py2.py3-none-any.whl (70.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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