mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-26 19:26:16 +00:00
fix(docker): also download objs_lw (lightwheel objects) for robocasa
Kitchen tasks (e.g. CloseFridge) reference lightwheel object meshes like Stool022/model.xml. fixtures_lw alone isn't enough — we also need objs_lw. Still skipping objaverse/aigen to keep image size down. Made-with: Cursor
This commit is contained in:
@@ -28,11 +28,12 @@ RUN git clone --depth 1 https://github.com/robocasa/robocasa.git ~/robocasa && \
|
|||||||
git clone --depth 1 https://github.com/ARISE-Initiative/robosuite.git ~/robosuite && \
|
git clone --depth 1 https://github.com/ARISE-Initiative/robosuite.git ~/robosuite && \
|
||||||
uv pip install --no-cache -e ~/robocasa -e ~/robosuite
|
uv pip install --no-cache -e ~/robocasa -e ~/robosuite
|
||||||
|
|
||||||
# Set up robocasa macros and download kitchen assets (textures + fixtures only —
|
# Set up robocasa macros and download kitchen assets. Include tex + fixtures_lw
|
||||||
# skip objaverse/aigen objects to keep the image under size limits).
|
# + objs_lw (kitchen tasks reference lightwheel object meshes like stools); skip
|
||||||
|
# objaverse/aigen object categories (~8GB extra, not used by the smoke tasks).
|
||||||
# The download script prompts interactively, so pipe 'y' to auto-accept.
|
# The download script prompts interactively, so pipe 'y' to auto-accept.
|
||||||
RUN python -m robocasa.scripts.setup_macros && \
|
RUN python -m robocasa.scripts.setup_macros && \
|
||||||
yes y | python -m robocasa.scripts.download_kitchen_assets --type tex fixtures_lw
|
yes y | python -m robocasa.scripts.download_kitchen_assets --type tex fixtures_lw objs_lw
|
||||||
|
|
||||||
# Overlay the PR's source code on top of the nightly image.
|
# Overlay the PR's source code on top of the nightly image.
|
||||||
COPY --chown=user_lerobot:user_lerobot . .
|
COPY --chown=user_lerobot:user_lerobot . .
|
||||||
|
|||||||
Reference in New Issue
Block a user