diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

how can i know what the model base are

Open xalteropsx opened this issue 1 year ago • 1 comments

from transformers import DiffusionPipeline

base_model_id = "anything-v3-fp16-pruned.safetensors"

pipeline = DiffusionPipeline.from_pretrained( base_model_id, model_dir=model_dir, use_safetensors=True, )

xalteropsx avatar May 15 '24 20:05 xalteropsx

I found anything-v3-fp16-pruned.safetensors in Hugging Face. You can also see the config files of the components:

print(pipeline.config)
print(pipeline.vae.config)

tolgacangoz avatar May 16 '24 06:05 tolgacangoz

thnx bro @standardAI

xalteropsx avatar May 17 '24 22:05 xalteropsx