Closed monacv closed 3 years ago
for example, I see that you are using bottle and wine glasses in phosa/constants.py file but there's no model or body part definition.
Does it mean that you can also run phosa without the need for JSON files for surface annotation and body part segmentation correspondence? If so, could you please tell me how you do this? Thanks a lot.
Yes, you can create a "dummy" part that maps to all the vertices of the object. For instance, if your object has 1000 vertices, you can make your parts label json contain a dictionary mapping "dummy" to np.arange(1000). Then, in your interaction parts labeling, you can assign "dummy" to the corresponding person parts.
I was wondering if I could run PHOSA without providing the surface annotation json files and if so, would you please be able to guide me a bit how to do so?
I can see they are requires here in constant.py file: