cswry / SeeSR

[CVPR2024] SeeSR: Towards Semantics-Aware Real-World Image Super-Resolution
Apache License 2.0
331 stars 14 forks source link

feature_extractor is miss in sd-turbo #27

Open WenmuZhou opened 3 months ago

WenmuZhou commented 3 months ago

I encountered the following problems when running the webui of sd-turbo:

error : OSError: Incorrect path_or_model_id: 'preset/models/models--stabilityai--sd-turbo/snapshots/1681ed09e0cff58eeb41e878a49893228b78b94c/feature_extractor'. Please provide either the path to a local folder or the repo_id of a model on the Hub.

The screenshot of the sd-turbo file on huggingface is as follows, there is no feature_extractor folder image

Luciennnnnnn commented 3 months ago

Since feature extractor is used for NSFW checker, we can ignore it by passing feature_extractor=None to StableDiffusionControlNetPipeline

AIisCool commented 1 month ago

Since feature extractor is used for NSFW checker, we can ignore it by passing feature_extractor=None to StableDiffusionControlNetPipeline

Modified it when I too got this error, but it isn't working:

OSError: preset/models/sd-turbo/feature_extractor does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/preset/models/sd-turbo/feature_extractor/None' for available files.