File size: 300 Bytes
0e4bbae | 1 2 3 4 5 6 7 8 9 10 | # This is an example script to get all the affordance information specified in xml files.
import init_path
from libero.libero.envs.objects import OBJECTS_DICT
from libero.libero.utils.object_utils import get_affordance_regions
affordances = get_affordance_regions(OBJECTS_DICT)
print(affordances)
|