real-stanford / diffusion_policy

[RSS 2023] Diffusion Policy Visuomotor Policy Learning via Action Diffusion
https://diffusion-policy.cs.columbia.edu/
MIT License
1.48k stars 278 forks source link

ImportError: ImportError: cannot import name 'IGNORE_GIT_FOLDER_PATTERNS' from 'huggingface_hub.utils' .... #102

Open CodingCatMountain opened 2 months ago

CodingCatMountain commented 2 months ago

Awesome Work! Diffusion-policy is very inspired!

However, could you help me to fix this problem? I try to run state-based ipynb file in colab. I met such error: ImportError: cannot import name 'IGNORE_GIT_FOLDER_PATTERNS' from 'huggingface_hub.utils' (/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/__init__.py) Looking forward to your reply.

mayeRobot commented 1 month ago

Hello, I tried downgrade the version of hugglingface_hub to 0.22.1 and it works. You can try to execute the following commands. pip uninstall -y huggingface_hub pip install huggingface_hub==0.22.1 Good luck to you!