checkpoints / LIBERO /scripts /get_affordance_info.py
Cocoyawn32's picture
Upload folder using huggingface_hub
e7a3f8b verified
Raw
History Blame Contribute Delete
300 Bytes
# 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)