Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab quickstart run all error, section 6 first cell #212

Closed
francis-bilodeau opened this issue Jan 8, 2025 · 4 comments
Closed

Colab quickstart run all error, section 6 first cell #212

francis-bilodeau opened this issue Jan 8, 2025 · 4 comments

Comments

@francis-bilodeau
Copy link

francis-bilodeau commented Jan 8, 2025

Got this error while doing a run all of the colab tutorial robomimic_get_started.ipynb.

AssertionError                            Traceback (most recent call last)
<ipython-input-12-6f92859389ef> in <cell line: 7>()
      5 env_meta = FileUtils.get_env_metadata_from_dataset(dataset_path)
      6 
----> 7 env = EnvUtils.create_env_from_metadata(
      8     env_meta=env_meta,
      9     env_name=env_meta["env_name"],

13 frames
/usr/local/lib/python3.10/dist-packages/robosuite/controllers/composite/__init__.py in composite_controller_factory(type, sim, robot_model, grippers)
      6 
      7 def composite_controller_factory(type, sim, robot_model, grippers):
----> 8     assert type in REGISTERED_COMPOSITE_CONTROLLERS_DICT, f"{type} controller is specified, but not imported or loaded"
      9     # Note: Currently we assume that the init arguments are same for all composite controllers. The situation might change given new controllers in the future, and we will adjust accodingly.
     10 

AssertionError: OSC_POSE controller is specified, but not imported or loaded

The error originate from the first cell of the "6. Evaluate and visualize trained policy" section.

@amandlek
Copy link
Member

amandlek commented Jan 8, 2025

This is likely an issue with the robosuite version - please use version v1.4.1 or the offline_study branch instead of v1.5 (latest master) for now.

cc @danfeiX for vis

@danfeiX
Copy link
Collaborator

danfeiX commented Jan 10, 2025

Let us know if changing version resolves the issue @francis-bilodeau

@carloskiyoto
Copy link

Let us know if changing version resolves the issue @francis-bilodeau

I had the same problem, I changed to v1.4.1 and worked! Thank you @amandlek

@francis-bilodeau
Copy link
Author

This is likely an issue with the robosuite version - please use version v1.4.1 or the offline_study branch instead of v1.5 (latest master) for now.

cc @danfeiX for vis

This worked, thank you!

#install robosuite
!pip install robosuite==1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants