EfficientNets are a family of image classification models, which achieve state-of-the-art accuracy, yet being an order-of-magnitude smaller and faster than previous models[1], which is trained on [imagenet dataset](https://image-net.org/download.php).
- supported types: `str`, for example 'efficientnet-b7'
- framework:
- the framework of the model
- supported types: `str`, default is 'pytorch'
- weights_path:
- the weights path
- supported types: `str`, default is None, using pretrained weights
```python
__call__(self, img_path: str)
```
**Args:**
- img_path:
- the input image path
- supported types: `str`
**Returns:**
The Operator returns a tuple `Tuple[('feature_vector', numpy.ndarray)]` containing following fields:
- feature_vector:
- the embedding of the image
- data type: `numpy.ndarray`
## Requirements
You can get the required python package by [requirements.txt](./requirements.txt).
## How it works
The `towhee/efficientnet-embedding` Operator implements the function of image embedding, which can add to the pipeline. For example, it's the key Operator named embedding_model within [efficientnet-embedding](https://hub.towhee.io/towhee/efficientnet-embedding) pipeline.