Downloads · 30 days
0
UgurI/ImageAI-Upscale
ImageAI-Upscale is a image-to-image model from UgurI. Use it when you need one image transformed into another. The card lists the license as mit.
ImageAI-Upscale is a custom PyTorch model for sparse pixel completion and 2x-by-2x canvas-based image upscaling.
Downloads · 30 days
0
Access
Public
Updated Apr 4, 2026
Repo size
230 MB
Likes
1
Public
Click a slice to open those files.
.pt208 MB · 90%
From the Hugging Face model README
ImageAI-Upscale is a custom PyTorch model for sparse pixel completion and 2x-by-2x canvas-based image upscaling.
The idea behind this model is simple:
2x width and 2x height.2x2 block.This produces an output image with:
2x width2x height4x total pixel countThis repository contains:
best.pt: trained model checkpointsparse_unet_native_bc96.yaml: model/training configexample_input.png: sample input imageexample_output.png: sample output imageThis is a custom full-image sparse completion model, not a standard Transformers or Diffusers model.
Architecture summary:
The model was trained on a PNG image dataset prepared from a larger original image collection.
Training pipeline summary:
16 parts2x2 sparse block kept only the bottom-left pixelThe model was then trained to learn:
SparsePNG -> MasterPNGThis means the model specifically learns how to restore this exact sparse pattern.
This model is not a general-purpose super-resolution model.
It works best when the input follows the same sparse structure used during training:
2x2 blockIf you feed normal images directly, you should first convert them into this sparse canvas format.
This model is intended for:
This repository stores only the model assets. The runtime is expected to be used with the original local project code.
Example command:
python -m imageai.upscale_cli ^
--input "D:\AI\ImageAI\Test.png" ^
--output "D:\AI\ImageAI\Test_upscaled.png" ^
--config "D:\AI\ImageAI\configs\sparse_unet_native_bc96.yaml" ^
--ckpt "D:\AI\ImageAI\checkpoints\sparse_unet_native_bc96\best.pt"
Or, if the CLI entrypoint is installed:
imageai-upscale --input "input.png" --output "output.png"
MIT