From ba75faea028f8e19d324e72727be07164493f54c Mon Sep 17 00:00:00 2001 From: xororz Date: Sun, 14 Apr 2024 12:54:14 -0400 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 89de8e0..5ef375a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ Run Real-ESRGAN in the browser with tensorflow.js ## Usage +Drag in or select an image, then choose a model and WebGPU/WebGL to upscale the image. + +Sure, PNG with alpha channel is supported. + ### Online Demo [https://cappuccino.moe](https://cappuccino.moe) @@ -22,6 +26,17 @@ npm install npm run dev ``` +## Models + +I've converted 4 models to tensorflow.js format, you can find the original pytorch models in [xinntao/Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) + +- anime (fast) `RealESRGAN-animevideov3` +- anime (plus) `RealESRGAN_x4plus_anime_6B` +- general (fast) `RealESRGAN-general-x4v3` +- general (plus) `RealESRGAN_x4plus` + +The first run will download the models and cache them in the browser indexedDB. No need to download them again. + ## Credits Pytorch model -> ONNX -> Tensorflow saved model -> Tensorflow.js