config.json not found on the HuggingFace Hub in lerobot/pi0
#20
by
hb-zzy
- opened
this is my code:
from lerobot.common.policies.pi0.modeling_pi0 import PI0Policy
try:
policy = PI0Policy.from_pretrained("lerobot/pi0")
print("✅ success!")
except Exception as e:
print(f"❌ fail: {e}")
exit()
When I run this code, the following error occurs:
❌ fail: config.json not found on the HuggingFace Hub in lerobot/pi0
how can i fix this or load local model?
hey
@hb-zzy
👋
Thank you for the issue! Closing this as your example is not reproducible in my setup. Using:
from lerobot.common.policies.pi0.modeling_pi0 import PI0Policy
try:
policy = PI0Policy.from_pretrained("lerobot/pi0")
print("✅ success!")
except Exception as e:
print(f"❌ fail: {e}")
exit()
Results in success!
fracapuano
changed discussion status to
closed