资源算法densepose-api

densepose-api

2019-12-31 | |  86 |   0 |   0

DensePose API Docker

GPU powered Docker API that recieves an image and returns the DensePose (old Detectron version) UVmask:

Input

Output

Dependencies

Usage

  1. From the docker folder run: docker-compose up -d

After building the Docker container (it can take a while), the API will start.

You can check the status of the container with: docker ps -a

You can also see what's going on inside the container with docker logs densepose-api -f

  1. On the main folder run: python send_files.py

If it's the first time you send an image to the API it can take a while as it will download the DensePose model (607MB)

This will send demo_im.jpg to the API using the Python requests package.

Feel free to modify the script and add it to your pipeline

Tested on Ubuntu 18.04 with a GTX 1060 GPU (drivers 410.104)

Advantages

  • You don't have to install Caffe

  • You don't have to install CUDA

  • Very easy to integrate in any pipeline, only a HTTP request needed.

  • The API will be isolated from your code. No dependency errors

  • Did I mention that you don't need to install Caffe?


上一篇:densepose_setup

下一篇:densepose-caffe2-compile-error

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker