Trouble Shooting

May 26, 2025 ยท View on GitHub

  1. TypeError: write_frames() got an unexpected keyword argument 'audio_path' when saving videos.

    • This is caused by the low version of imageio-ffmpeg.
    • Upgrade it to fix: pip install --upgrade imageio-ffmpeg==0.4.8.
  2. IndexError: list index out of range when training latent action autoencoder.

    • You may forget to align nnodes and nproc_per_node in lam/train.sh with your GPU setup.
    • Please check lam/train.sh and modify them accordingly.
  3. The number of training iterations does not match when training latent action autoencoder.

    • You may forget to align num_nodes and devices in lam/config/lam.yaml with your GPU setup.
    • Please check lam/config/lam.yaml and modify them accordingly.
  4. FileNotFoundError: Failed to download file (open_clip_pytorch_model.bin) for laion/CLIP-ViT-H-14-laion2B-s32B-b79K. when building the world model.

    • This is likely due to a network failure.
    • Download the model from Hugging Face in advance and set version of FrozenOpenCLIPImageEmbedder in worldmodel/vwm/modules/encoders/modules.py to the path of open_clip_pytorch_model.bin.
  5. Fail to convert the DeepSpeed checkpoint to pytorch_model.bin using the automatically generated zero_to_fp32.py script.

    • This is caused by the high version of deepspeed.
    • Downgrade to a compatible lower version, or use the provided worldmodel/zero_to_fp32.py to replace the automatically generated script directly.

<= Previous: [Visual Planning]