facebookresearch / facebookresearch/detectron2

Densepose documents need to be update for decode the results?

Open
#2,185 3 comments 0 reactions 0 assignees View on GitHub
densepose
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

I want to decode the results.pkl
From the Densepose APPLY_NET documents:
it shows:

from densepose.data.structures import DensePoseResult
img_id, instance_id = 0, 0 # Look at the first image and the first detected instance
bbox_xyxy = data[img_id]['pred_boxes_XYXY'][instance_id]
result_encoded = data[img_id]['pred_densepose'].results[instance_id]
iuv_arr = DensePoseResult.decode_png_data(*result_encoded)

But for the latest scripts, DensePoseResult part has been removed, so how to get the iuv_arr from the pkl?

Thank you for your help!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.