Module Name | SnakeIdentification |
---|---|
Category | image classification |
Network | ResNet50_vd_ssld |
Dataset | Snake Dataset |
Fine-tuning supported or not | No |
Module Size | 84MB |
Latest update date | - |
Data indicators | - |
-
- This module can be used to identify the kind of snake, and judge the toxicity.
-
-
paddlepaddle >= 2.0.0
-
paddlehub >= 2.0.0 | How to install PaddleHub
-
paddlex >= 1.3.7
-
-
-
$ hub install SnakeIdentification
- In case of any problems during installation, please refer to: Windows_Quickstart | Linux_Quickstart | Mac_Quickstart
-
-
-
$ hub run SnakeIdentification --input_path /PATH/TO/IMAGE
- If you want to call the Hub module through the command line, please refer to: PaddleHub Command Line Instruction
-
-
-
import paddlehub as hub import cv2 classifier = hub.Module(name="SnakeIdentification") images = [cv2.imread('/PATH/TO/IMAGE')] results = classifier.predict(images=images) for result in results: print(result)
-
-
-
def predict(images)
-
classification API.
-
Parameters
- images (list[numpy.ndarray]): image data, ndarray.shape is in the format [H, W, C], BGR;
-
Return
- result(list[dict]): classication results, each element in the list is dict, key is the label name, and value is the corresponding probability
-
-
-
1.0.0
First release
-
$ hub install SnakeIdentification==1.0.0
-