PaddleHub

Om Chaithanya V
Analytics Vidhya
Published in
2 min readAug 5, 2021

--

PaddleHub is a toolkit with Awesome pre-trained models that enables us to perform Computer Vision and NLP tasks in a single line of code.

To use PaddleHub, you don't need to have any prior knowledge of Deep Learning. All the models are open source and free to use.

Repository Link: https://github.com/PaddlePaddle/PaddleHub

First, install paddlehub

Now import paddlehub

we are done with the installation and now we are good to start our tasks.

1. Face Detection

out:

2. Keypoint Detection

out:

3. Human Segmentation

out:

4. Human Parsing

out:

5. Lexical Analysis

out:

[{'word': ['I', ' ', 'am', ' ', 'an', ' ', 'immortal'], 'tag': ['xc', 'w', 'xc', 'w', 'xc', 'w', 'xc']}]

6. Sentiment Analysis

out:

[{'text': 'Believing in yourself means having faith in your own capabilities', 'sentiment_label': 1, 'sentiment_key': 'positive', 'positive_probs': 0.9967, 'negative_probs': 0.0033}]

These are a few Computer Vision and NLP tasks that can be easily performed using paddlehub.

If you want to explore more about paddlehub then please visit their repo: https://github.com/PaddlePaddle/PaddleHub

--

--