Tensorflow image models
Project description
Install
pip install tensorflow_image_models==0.0.8
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tensorflow_image_models-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5a74e97517d4ada1b5d6d71b5540520a8fa11a0e701e79a8c1411c864a3a4c3 |
|
MD5 | 1d13e74a871a9c409fff6a1ff0757af2 |
|
BLAKE2b-256 | fe1b62946ce1b5d96cd850a855fb7816ccaa12e7468814804b7d9677b70fcfb1 |
Hashes for tensorflow_image_models-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daaf7f9e1a50016bf0f395254be59b9f82033b4bcaa3cf85e9278c8627833f8b |
|
MD5 | ef5da7560b0e39080f6eea5a5287821d |
|
BLAKE2b-256 | af3bc76218c997fb2ed65aaf21bb691c7224e0bebaec76aca78d375b91a8d07b |