ValueError: unrecognized image processor

#1
by hfroot - opened

Hello! Thank you for this model.

I am trying to use it locally. When I run the code suggested, I receive an error:

ValueError: Unrecognized image processor in capcheck/ai-human-generated-image-detection. Should have a image_processor_typekey in its preprocessor_config.json of config.json, or one of the followingmodel_type keys in its config.json:

And then a list of keys. I see that one of the keys suggested, vit, is indeed in the config.json so I presume the issue is with the value for the image_processor_type key. I found this github issue that seems related but in a different model.

Grateful for any suggestions on how to resolve this!

Sign up or log in to comment