Xingyu-Lin/softgym

Can the simulater segment the object?

ShiguangSun opened this issue · 4 comments

Hi, I have a question. I want to get the observed image with only objects (like rope, cloth), is there a way to segment the objects in the image?
Thank you for any help you can offer!

It seems that "pyflex.render_cloth()" is useful.

It seems that "pyflex.render_cloth()" is useful.
I just tried the way you said, but it seems can't work. It shows:
AttributeError: module 'pyflex' has no attribute 'render_cloth'
Can you use this? Any details to pay attention to?

It seems that "pyflex.render_cloth()" is useful.
I just tried the way you said, but it seems can't work. It shows:
AttributeError: module 'pyflex' has no attribute 'render_cloth'
Can you use this? Any details to pay attention to?

You can refer to the example code in random_env.py:

rgb, depth = pyflex.render_cloth()

It seems that "pyflex.render_cloth()" is useful.
I just tried the way you said, but it seems can't work. It shows:
AttributeError: module 'pyflex' has no attribute 'render_cloth'
Can you use this? Any details to pay attention to?

You can refer to the example code in random_env.py:

rgb, depth = pyflex.render_cloth()

Ok, I saw it, this is the new version feature, I am using the old version. I will try this. Thanks!