Skip to main content

apply roi tanh warping in tensorflow for face parsing

Project description

roi_tanh_warping_tensorflow

This is a tensorflow re-impelementation of the Face Parsing With RoI Tanh-Warping paper published at CVPR 2019. This is intended to be used for face-parsing training in tensorflow.

Install

How to use

The main function to call from src.tanh_warper is apply_roi_tanh_warping. This function works as follows

from roi_tanh.tanh_warper import apply_roi_tanh_warping

apply_roi_tanh_warping(image: np.ndarray, label: np.ndarray, size:Tuple[int])

The expected input are a single image and its corresponding label.

run a unit test

python -m src.roi_tanh.tanh_warper --unit_test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roi_tanh_tensorflow-0.0.1.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

roi_tanh_tensorflow-0.0.1-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page