CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 00:36:02 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"39f8c8338ba2b8c782c63888b684aa5b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=9iL4oIqlxBfr21bjRNng8mDTP2On3RGsbhCFfXC287KFGgZJRIABghcajwHiXxgx853Ja3H62NOpz535VUhz8uUNCw3%2Ffsw%2FX8%2FFzrRfc4rFsuLyi%2FTDfTj5aGsYJvSnnQS%2BGHK7DK%2Fph6MoS%2BdgIc8IinNpBWZbxBEeQ7XtCdCirZNB%2Bs6E%2FBE0m5wSUGzqPqEMpk40Gj131Oxu66t%2FoCKGf%2BpzJ1NtAKVouNh9FdB4vXDh8PKdv3RfmPD8X8CLz9idJ6lZaRHPm5SOvsSA1Q%3D%3D--aGhUVMeNGRkwkslX--%2BE4MgYG9%2FU7m40CZXq4eVg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1044464836.1753749362; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 00:36:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 00:36:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CCC4:2896DD:167C9F:20FE55:68881772
Model format · axodox/unpaint Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 11
Model format
Peter Major edited this page Jun 16, 2023
·
2 revisions
Unpaint accepts Stable Diffusion models in the ONNX format. Each model must contain the following files:
Path | Role |
---|---|
feature_extractor / preprocessor_config.json |
Configuration for feature extraction |
safety_checker / model.onnx |
Model for the safety check |
scheduler / scheduler_config.json |
Configuration for denoising scheduler |
text_encoder / model.onnx |
Model for text encoding |
tokenizer / merges.txt, special_tokens_map.json, tokenizer_config.json, vocab.json |
Configuration for text tokenization |
unet / model.onnx |
Model for denoising |
vae_decoder / model.onnx |
Model for VAE decoding |
vae_encoder / model.onnx |
Model for VAE encoding |
Checks if the image is safe for work (SFW).
Input:
-
float16 clip_input[batch, channels, height, width]
: the input image in color space, usually 224 x 224 pixels, colors scaled to the range 0 .. 1 then normalized, planar color channels -
float16 images[batch, height, width, channels]
: the input image in color space, original size, color scaled to the range 0 .. 1
Output:
-
float16 out_images[batch, height, width, channels]
: the input image, if safe, otherwise a black image -
boolean has_nsfw_concepts[batch]
: a boolean value for each input image in the batch, true if the image is unsafe otherwise false
Encodes tokenized text as an embedding.
Input:
-
int32 input_ids[batch, sequence]
: the input tokens, usually have the dimension of batch size * 77
Output:
-
float16 last_hidden_state[batch, sequence, 768]
: the text embedding (aka. last hidden state)
Denoises images.
Input:
-
float16 sample[batch, channels, height, width]
: the image to denoise in latent space -
float16 timestep[batch]
: the timestep for denoising -
float16 encoder_hidden_state[batch, sequence, 768]
: the text embedding (aka. last hidden state)
Output:
-
float16 out_sample[batch, channels, height, width]
: the denoised image in latent space
Converts images from latent to color space.
Input:
-
float16 latent_sample[batch, channels, height, width]
: an image in latent space
Output:
-
float16 sample[batch, channels, height, width]
: an image in color space
Converts images from color to latent space.
Input:
-
float16 sample[batch, channels, height, width]
: an image in color space
Output:
-
float16 latent_sample[batch, channels, height, width]
: an image in latent space
Clone this wiki locally
You can’t perform that action at this time.