Skip to main content

Tensorflow image models

Project description

Install

pip install tensorflow_image_models==0.0.9


Usage

from tensorflow_image_models import list_models

list_models()

models list:
DPN92
DPN98
DPN131
DPN107
EfficientNetB0
EfficientNetB1
.....
.....
VGG16
VGG19

Create Model

from tensorflow_image_models import EfficientNet
model = EfficientNet.EfficientNetB0(classes=10)
model.summary()

from tensorflow_image_models import Inception
model = Inception.InceptionV4(classes=3, input_shape=(299,299,3)
model.summary()


Here is a list of input shape expected for each model

EfficientNetB0-----(224, 224, 3)
EfficientNetB1-----(240, 240, 3)
EfficientNetB2-----(260, 260, 3)
EfficientNetB3-----(300, 300, 3)
EfficientNetB4-----(380, 380, 3)
EfficientNetB5-----(456, 456, 3)
EfficientNetB6-----(528, 528, 3)
EfficientNetB7-----(600, 600, 3)
AlexNet------------(224, 224, 3)
InceptionResNetV2--(299, 299, 3)
InceptionV3--------(299, 299, 3)
LeNet--------------(32, 32, 1)
MobileNetV2--------(224, 224, 3)
ResNet18-----------(224, 224, 3)
ResNet34-----------(224, 224, 3)
VoVNet27-----------(224, 224, 3)
VoVNet39-----------(224, 224, 3)
VoVNet57-----------(224, 224, 3)

The rest of the models receive any shape, and the default shape is (128,128,3)


License
This project is licensed under the MIT License


Author
DEEPOLOGY LAB

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

tensorflow_image_models-0.0.9.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

tensorflow_image_models-0.0.9-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file tensorflow_image_models-0.0.9.tar.gz.

File metadata

File hashes

Hashes for tensorflow_image_models-0.0.9.tar.gz
Algorithm Hash digest
SHA256 3921aa01d40d9e1d6663131dbbe317c5e9958584a5af5032caae3f6d2e65ee35
MD5 eca368064ed1d7f0487f30ea74165f00
BLAKE2b-256 19753f268e3550f5c2c4dfc8692e1b3021e3738c69f60317640a0e32087dbfc3

See more details on using hashes here.

File details

Details for the file tensorflow_image_models-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for tensorflow_image_models-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f5391c0a0f7c7d9ea40f91e47d5624f2f880ab8a0f597479bc6d39908c8f1c94
MD5 39b406ba8b75f39aa1b487203bd9b183
BLAKE2b-256 19b3244e42726418271ec4c56807b6c760ae19c279bcb0655581ed6eaa650423

See more details on using hashes here.

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