Closed CreativeNick closed 2 months ago
Could you try
python -m mani_skill.utils.download_asset "PickSingleYCB-v1"
It's on the TODO list to auto print message about which datasets are needed for which tasks. Generally running the above command and changing the env id to the one you want will download the necessary assets
It worked, thanks!
I think this issue should be mentioned in the documentation here as well: https://maniskill.readthedocs.io/en/latest/user_guide/tutorials/custom_tasks/loading_objects.html#loading-from-existing-datasets
Including a note about the utility to manually download datasets (e.g., python -m mani_skill.utils.download_asset <DATASET_NAME>
) would help users avoid missing file errors.
Oops this issue has been sitting there for a while: https://github.com/haosulab/ManiSkill/issues/358
Will get on to this tomorrow probably.
Ok I can one up the feature. Now when you create a ManiSkill environment, we check for assets. if assets are detected as missing (robot, environment related assets like YCB dataset), then you are prompted to download them and if you say yes they are downloaded and code proceeds as normal (and future runs will not require downloads).
Run pip install --upgrade git+https://github.com/haosulab/ManiSkill.git to get the latest commit/release to use this. Pypi package is not yet updated with this feature.
I attempted running the command
python -m mani_skill.examples.demo_random_action -e "PickSingleYCB-v1" --render-mode="human"
, however, I received the following error:Command I ran:
python -m mani_skill.examples.demo_random_action -e "PickSingleYCB-v1" --render-mode="human"
Output:
I tried looking in the repo for
info_pick_v0.json
but was unsuccessful. I also noticed that it was looking for the file inside a folder called/mani_skill2_ycb
. Could the reason for this error be thatinfo_pick_v0.json
is from the older version of ManiSkill (maniskill2) and was not updated to ManiSkill3, which is why the folder/mani_skill2_ycb
and the fileinfo_pick_v0.json
are both missing? Or perhaps I missed something else entirely?Any help/insights would be appreciated, thanks!