facebookresearch/DensePose

DensePose for JS

Opened this issue · 2 comments

I am using DensePose to get IUV_map which I am planning to use later on the pipeline. The issue is that, for deployment, I need a JS version to run on web. Tensorflow.js does run in browser but DensePose is in pytorch.

Any idea for running the task on browser will be helpful.

Thanks

This link suggests that saving the model in ONNX and loading it using Tensorflow is one way to do it. Have you tried it?

For densepose, documentation for export to ONNX mentions that some of the operations are only available in caffe2 and that will disrupt the conversion further to tensorflow. That's why i wanted feedback if someone found a way to do the same.