efficientnet-lite2-pytorch-model-0.1.0
توضیحات
Pretrained Pytorch model file for EfficientNet Lite2
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | efficientnet-lite2-pytorch-model-0.1.0 |
| نام | efficientnet-lite2-pytorch-model |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ML Illustrated |
| ایمیل نویسنده | gerald@ml-illustrated.com |
| آدرس صفحه اصلی | https://github.com/ml-illustrated/efficientnet_lite2_pytorch_model |
| آدرس اینترنتی | https://pypi.org/project/efficientnet-lite2-pytorch-model/ |
| مجوز | - |
# efficientnet-lite2-pytorch-model
Pretrained Pytorch model file for EfficientNet Lite2
## Installation
```
pip install efficientnet_lite2_pytorch_model
```
## Basic Usage
```
from efficientnet_lite2_pytorch_model import EfficientnetLite2ModelFile
print( 'model file path is %s' % ( EfficientnetLite2ModelFile.get_model_file_path() ) )
```
## Actual Usage
Install the model package from [EfficientNet-Lite-PyTorch](https://github.com/ml-illustrated/EfficientNet-Lite-PyTorch):
```
pip install efficientnet_lite_pytorch
```
Load the model with pretrained weights:
```
from efficientnet_lite_pytorch import EfficientNet
from efficientnet_lite2_pytorch_model import EfficientnetLite2ModelFile
weights_path = EfficientnetLite2ModelFile.get_model_file_path()
lite2_model = EfficientNet.from_pretrained('efficientnet-lite2', weights_path = weights_path )
```
## Credits
This package was created with _Cookiecutter_ and the `audreyr/cookiecutter-pypackage` project template.
- _Cookiecutter_: https://github.com/audreyr/cookiecutter
- `audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
- `cookiecutter-ml-model-files`: https://github.com/ml-illustrated/cookiecutter-ml-model-files
نحوه نصب
نصب پکیج whl efficientnet-lite2-pytorch-model-0.1.0:
pip install efficientnet-lite2-pytorch-model-0.1.0.whl
نصب پکیج tar.gz efficientnet-lite2-pytorch-model-0.1.0:
pip install efficientnet-lite2-pytorch-model-0.1.0.tar.gz