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
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
File details
Details for the file tensorflow_image_models-0.0.9.tar.gz
.
File metadata
- Download URL: tensorflow_image_models-0.0.9.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3921aa01d40d9e1d6663131dbbe317c5e9958584a5af5032caae3f6d2e65ee35 |
|
MD5 | eca368064ed1d7f0487f30ea74165f00 |
|
BLAKE2b-256 | 19753f268e3550f5c2c4dfc8692e1b3021e3738c69f60317640a0e32087dbfc3 |
File details
Details for the file tensorflow_image_models-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: tensorflow_image_models-0.0.9-py3-none-any.whl
- Upload date:
- Size: 47.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5391c0a0f7c7d9ea40f91e47d5624f2f880ab8a0f597479bc6d39908c8f1c94 |
|
MD5 | 39b406ba8b75f39aa1b487203bd9b183 |
|
BLAKE2b-256 | 19b3244e42726418271ec4c56807b6c760ae19c279bcb0655581ed6eaa650423 |