Skip to content

why not directly set the bddl file path within the project #44

@yanan1116

Description

@yanan1116

i suppose many users have already installed the vanilla libero before, so there exists a file: ~/.libero/config.yaml
where like mine:

assets: /home/yanan/robotics/openvla-oft/LIBERO/libero/libero/./assets
bddl_files: /home/yanan/robotics/openvla-oft/LIBERO/libero/libero/./bddl_files
benchmark_root: /home/yanan/robotics/openvla-oft/LIBERO/libero/libero
datasets: /home/yanan/robotics/openvla-oft/LIBERO/libero/libero/../datasets
init_states: /home/yanan/robotics/openvla-oft/LIBERO/libero/libero/./init_files

which directs the bddl files to the /home/yanan/robotics/openvla-oft/LIBERO/libero/libero/./bddl_files that is incorrect when using libero-plus.

also, since there could be multiple anaconda envs exist at the same time, some of them use vanilla libero while some use libero-plus.
frequently changing this yaml config may cause potential issues and misalignment.

why not just hard set the bddl_files within the project to the correct path: set the path in grab_language_from_filename from libero/libero/benchmark/__init__.py ?

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions