facebookresearch / ContactPose

Large dataset of hand-object contact, hand- and object-pose, and 2.9 M RGB-D grasp images.
http://contactpose.cc.gatech.edu/
MIT License
338 stars 33 forks source link

Parse whole dataset #14

Closed rohitdavas closed 2 years ago

rohitdavas commented 2 years ago

How to access whole dataset in loops ?

We can access a single instance using ContactPose class. However, how to get exhaustive list of p_num, intent, object_name etc. which are parameters of ContactPose ?

This is needed to convert the dataset to desired usage.

samarth-robo commented 2 years ago

Hi @rohitdavas, sorry for the delay in replying. You can use the get_object_names(), get_intents(), and get_p_nums() functions in utilities/dataset.py.

rohitdavas commented 2 years ago

thanks !