Robotics
LeRobot
Safetensors

AttributeError: 'PaliGemmaConfig' object has no attribute 'ignore_index'

#21
by aiden-li - opened

Error message while finetuning the model:
AttributeError: 'PaliGemmaConfig' object has no attribute 'ignore_index'

https://github.com/huggingface/lerobot/blob/main/src/lerobot/policies/pi0fast/modeling_pi0fast.py
you can see "# TODO: Remove this once we bump transformers to >4.52.0 because the attribute will be removed
# AttributeError: 'PaliGemmaConfig' object has no attribute 'ignore_index'"

Sign up or log in to comment