google-deepmind / google-deepmind/dm_control

pymjcf: assets dict is too big

Open
#387 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.7k
Forks
764
PR merge metrics
No merged PRs in 30d

Description

I decomposed my model into many pieces of convexhall meshes (about 2k), then tried to load it into pymjcf, with API `mjcf.Physics.from_mjcf_model`, it raised a `ValueError: assets dict is too big`. whether load them with .xml or python's for loop will trigger that Error. But load them with `mujoco.Physics.from_xml_string` goes all right. I don't know if this is a bug in pymjcf or it has some way to avoid. I really loves pymjcf to build my envirment.
[IssuesExample.zip](https://github.com/deepmind/dm_control/files/10979961/IssuesExample.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.