problem with 'obj_texture'
I read the .pkl meta file of the obman release dataset and looked at the texture image of the 'obj_texture' path, but found that it does not correspond to the texture of rendered image in rgb_obj.
I want to know how can I obtain correct texture images of dataset samples? Thanks.
Did you solve it, I encountered the same problems.
No I haven't 😥. But I have tried to directly adopt my own rendered images with such textures for some pretraining, and found it also helpful for my tasks.
Cause I am right now doing the inverse engineering, which is restore the 3D texture model from the obj file and texture picture in the meta-info. However, due to the problem, this doesn't work.
Perhaps using the data obtained by re-rendering according to the existing annotation can help alleviate this problem for you. I may not have any other better ideas either.😣
Can you specify what's the meaning of 're-rendering', I think i don't undetstand.
Sorry maybe I didn't explain clearly. It can be understood as following the guidelines of the current repo (https://github.com/hassony2/obman_render?tab=readme-ov-file#launch-) to generate obman dataset from scratch according to the original workflow. In this way, because both the texture and background are obtained from the files you specify, you can ensure that the data you render has the correct annotations.
Cause I am right now doing the inverse engineering, which is restore the 3D texture model from the
objfile andtexturepicture in the meta-info. However, due to the problem, this doesn't work.
I think I found the reason. https://github.com/hassony2/obman_render/blob/d64c9a6f1f2b85349b7fcb03ed588a64374ce558/blender_grasps.py#L226-L245
https://github.com/hassony2/obman_render/blob/d64c9a6f1f2b85349b7fcb03ed588a64374ce558/blender_grasps.py#L267-L268
You can see these lines apply each mat with corresponding texture picture, but the meta_info only save the path of the last texture picture. Consequently, the object's appearance is determined by the combined effect of all material textures, which explains why the rendered image's texture differs from the single texture image referenced in the saved path.