Skip to main content

Tensorflow image models

Project description

Install

pip install tensorflow_image_models==0.0.11


Usage

from tensorflow_image_models import list_models

list_models()

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

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)
ViTTiny = (224, 224, 3)
ViTSmall_8 = (224, 224, 3)
ViTSmall_16 = (224, 224, 3)
ViTSmall_32 = (224, 224, 3)
ViTBase_8 = (224, 224, 3)
ViTBase_16 = (224, 224, 3)
ViTBase_32 = (224, 224, 3)
ViTLarge_14 = (224, 224, 3)
ViTLarge_16 = (224, 224, 3)
ViTLarge_32 = (224, 224, 3)
ViTHuge_14 = (224, 224, 3)
ViTHuge_16 = (224, 224, 3)
ViTGaint_14 = (224, 224, 3)
ViTGaint_16 = (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.11.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

tensorflow_image_models-0.0.11-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for tensorflow_image_models-0.0.11.tar.gz
Algorithm Hash digest
SHA256 caac10f8859dd005e0171cfa70bbf5fa2caaa99b0ba16ff451d50530d6d2d661
MD5 0beb161bf9ae489e5841de7d284a3ac4
BLAKE2b-256 181a06e52752aaa0c1f3444042e5293b09fb55b19098f913437febe9cd8a9c25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensorflow_image_models-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ce3c14549d932ad0b2777d74920aa1422fa90411b3bdc58654721091929eef66
MD5 ac779a2638d06fa1fb6b7650fc5b1c6a
BLAKE2b-256 d96f7b1c3d80477a52d0170159dc6602376e0f7224c63a78014eccc8924732ee

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