-
-
Notifications
You must be signed in to change notification settings - Fork 14
How to ONNX
ForserX edited this page May 2, 2023
·
9 revisions
Before starting the generation, it is necessary to convert from the original model to ONNX format.

- Open convert wnd
- Drop your (.ckpt/.safetensors/diffusers) model into form.
- Check that the parameters are correct. 1 - the format of your model. 2. ONNX
- Click to convert.
- Wait while the program reports readiness
| File/Folder | Useful information |
|---|---|
| cnet | unet for ControlNet |
| feature_extractor | |
| safety_checker | nsfw checker |
| scheduler | |
| text_encoder | |
| tokenizer | |
| unet | |
| vae_decoder | Default model VAE |
| vae_encoder | Default model VAE |
| model_index.json | Base model info |
| logo.(png/jpg) | Optional: Preview pic |
All models are forcibly optimized in float16 so that you have enough VRAM to use Textual Inversion/LoRA/LyCORIS/etc...

- Setup prompt
- Setup negative prompt
- (Optional) Set sampler, size, steps count, image count, etc...
- (Optional) Set upscaler type and up-value
- Click "Make!" button
- Execute from "Text to Image" items 1-4
- Click "From Image"
- Set denoising value
- Click "Make!" button
- Execute from "Text to Image" items 1-4
- Click "From Image"
- (Optional) Set denoising value
- Make mask (Paint, Paint.NET, Photoshop, Gimp, etc...)
- Drop mask to mask box (*.png file)
- Click "Make!" button
- Execute from "Text to Image" items 1-4
- Click "From Image"
- (Optional) Set denoising value
- Enable "Pix2Pix"
- Click "Make!" button
- Execute from "Text to Image" items 1-4
- Enable ControlNet
- Set mode
- Set input pictures
- Face: models/OpenFaces
- Pose: models/OpenPose
- Other: models/controlnet/gen/(mode name)

- Load image
- Set preset type
- Make preset