VectorSpaceLab / OmniGen

OmniGen: Unified Image Generation. https://arxiv.org/pdf/2409.11340
MIT License
1.5k stars 80 forks source link

INFO: Could not find files for the given pattern(s). #25

Open VeteranXT opened 1 week ago

VeteranXT commented 1 week ago

INFO: Could not find files for the given pattern(s).

I did download model manually and made gradio to work, but upon launching i got that error. Where do i put model?

staoxiao commented 1 week ago

I'm not sure what happens. Can you give me more information about this error or show me your code?

VeteranXT commented 1 week ago

Upon launching CMD -> Python app.py it says first Lading Safetensors then that message.

I did follow all instructions on readme. And all i get INFO: Could not find files for the given pattern(s). Pressing Genearte does "Start" but it never finishes.

yuezewang commented 2 days ago

INFO: Could not find files for the given pattern(s).

I did download model manually and made gradio to work, but upon launching i got that error. Where do i put model?

Hello, this may be helpful:

If you download all files by yourself, you can also input your local model path to pipe like:

# Local model path is also acceptable, where all files should be organized as https://huggingface.co/Shitao/OmniGen-v1/tree/main
model_path = "/your/model/path"  
pipe = OmniGenPipeline.from_pretrained(model_path)