You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your work.
I download the VQ model and succesfully load vae vae = AutoModel.from_pretrained(MODEL_HUB, trust_remote_code=True)
But I failed to load image processor processor = AutoImageProcessor.from_pretrained(MODEL_HUB, trust_remote_code=True)
with Error as follow: TypeError: unsupported operand type(s) for |: 'type' and 'EnumMeta'
transformers==4.44.0 fllow the requirement
Could u plz tell me what's wrong.
Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for your work.
I download the VQ model and succesfully load vae
vae = AutoModel.from_pretrained(MODEL_HUB, trust_remote_code=True)
But I failed to load image processor
processor = AutoImageProcessor.from_pretrained(MODEL_HUB, trust_remote_code=True)
with Error as follow:
TypeError: unsupported operand type(s) for |: 'type' and 'EnumMeta'
transformers==4.44.0 fllow the requirement
Could u plz tell me what's wrong.
Thanks a lot.
The text was updated successfully, but these errors were encountered: