ONNX Model Zoo

XXX2333/OranAI_realistic_quality

By XXX2333 · ↓ 2 · ♥ 0 · Updated 2024-12-27

What's in this repo

This page lists the files in XXX2333/OranAI_realistic_quality, including openvino_model.onnx.

  • 1 ONNX models (.onnx files)
  • 38 files, including 15 .json, 9 .bin, 9 .xml, 2 .txt, 1 .md, 1 .onnx
  • Last updated 2024-12-27

ONNX files

File Size Download
text_encoder/openvino_model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

from openvino.runtime import get_version

print(get_version()) from optimum.intel import OVStableDiffusionXLPipeline from diffusers import DiffusionPipeline, LCMScheduler import time

openvion版本要求高,但是不要用最新的

model_path = './ov-dmd-1step' pipeline = OVStableDiffusionXLPipeline.from_pretrained( model_path, ov_config={"CACHE_DIR": "."}, )

pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config) prompt = "a close-up picture of an old man standing in the rain"

image = pipeline(prompt = prompt, num_inference_steps=1,guidance_scale=0, timesteps=[399]).images[0] image.save("ovgenerated_ship.png")

Model info

image-to-image diffusers
diffusers onnx diffusers:StableDiffusionXLImg2ImgPipeline region:us
↓ 2 ♥ 0

Created: 2024-12-27

Updated: 2024-12-27

View on Hugging Face

Files (38)

.gitattributes
README.md
model_index.json
scheduler/scheduler_config.json
text_encoder/config.json
text_encoder/openvino_model.bin
text_encoder/openvino_model.onnx ONNX
text_encoder/openvino_model.xml
text_encoder_2/config.json
text_encoder_2/openvino_model.bin
text_encoder_2/openvino_model.xml
tokenizer/added_tokens.json
tokenizer/merges.txt
tokenizer/openvino_detokenizer.bin
tokenizer/openvino_detokenizer.xml
tokenizer/openvino_tokenizer.bin
tokenizer/openvino_tokenizer.xml
tokenizer/special_tokens_map.json
tokenizer/tokenizer_config.json
tokenizer/vocab.json
tokenizer_2/added_tokens.json
tokenizer_2/merges.txt
tokenizer_2/openvino_detokenizer.bin
tokenizer_2/openvino_detokenizer.xml
tokenizer_2/openvino_tokenizer.bin
tokenizer_2/openvino_tokenizer.xml
tokenizer_2/special_tokens_map.json
tokenizer_2/tokenizer_config.json
tokenizer_2/vocab.json
unet/config.json
unet/openvino_model.bin
unet/openvino_model.xml
vae_decoder/config.json
vae_decoder/openvino_model.bin
vae_decoder/openvino_model.xml
vae_encoder/config.json
vae_encoder/openvino_model.bin
vae_encoder/openvino_model.xml

Related models