ABDALLALSWAITI commited on
Commit
e60886c
·
verified ·
1 Parent(s): 5ff1be8

Upload upscaler models

Browse files
Files changed (41) hide show
  1. ESRGAN/16xPSNR.pth +3 -0
  2. ESRGAN/1xDeJPG_realplksr_otf.pth +3 -0
  3. ESRGAN/2x_Text2HD_v.1-RealPLKSR.pth +3 -0
  4. ESRGAN/4x-UltraSharp.pth +3 -0
  5. ESRGAN/4xArtFaces_realplksr_dysample.pth +3 -0
  6. ESRGAN/4xHFA2k_ludvae_realplksr_dysample.pth +3 -0
  7. ESRGAN/4xNomos2_hq_dat2.pth +3 -0
  8. ESRGAN/4xNomos8kDAT.pth +3 -0
  9. ESRGAN/4x_CountryRoads_377000_G.pth +3 -0
  10. ESRGAN/4x_Fatality_Comix_260000_G.pth +3 -0
  11. ESRGAN/4x_NMKD-Superscale-Artisoftject_210000_G.pth +3 -0
  12. ESRGAN/4x_NMKD-Superscale-SP_178000_G.pth +3 -0
  13. ESRGAN/4x_NMKD-UltraYandere_300k.pth +3 -0
  14. ESRGAN/4x_NMKD-YandereNeoXL_200k.pth +3 -0
  15. ESRGAN/4x_NMKDSuperscale_Artisoft_120000_G.pth +3 -0
  16. ESRGAN/4x_NickelbackFS_72000_G.pth +3 -0
  17. ESRGAN/4x_PBRify_RPLKSRd_V3.pth +3 -0
  18. ESRGAN/4x_RealisticRescaler_100000_G.pth +3 -0
  19. ESRGAN/4x_SmoothRealism_100000_G.pth +3 -0
  20. ESRGAN/4x_Valar_v1.pth +3 -0
  21. ESRGAN/4x_foolhardy_Remacri.pth +3 -0
  22. ESRGAN/8xPSNR.pth +3 -0
  23. ESRGAN/8x_NMKD-Superscale_150000_G.pth +3 -0
  24. ESRGAN/8x_NMKD-Typescale_175k.pth +3 -0
  25. ESRGAN/A_ESRGAN_Single.pth +3 -0
  26. ESRGAN/BSRGAN.pth +3 -0
  27. ESRGAN/BSRNet.pth +3 -0
  28. ESRGAN/WaifuGAN_v3_30000.pth +3 -0
  29. ESRGAN/lollypop.pth +3 -0
  30. LDSR/LDSR_model.ckpt +3 -0
  31. README.md +70 -0
  32. SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x2.pth +3 -0
  33. SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x3.pth +3 -0
  34. SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x4.pth +3 -0
  35. SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x8.pth +3 -0
  36. SwinIR/003_realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN-with-dict-keys-params-and-params_ema.pth +3 -0
  37. SwinIR/003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x2_GAN-with-dict-keys-params-and-params_ema.pth +3 -0
  38. SwinIR/Swin2SR_ClassicalSR_X2_64.pth +3 -0
  39. SwinIR/Swin2SR_ClassicalSR_X4_64.pth +3 -0
  40. SwinIR/Swin2SR_RealworldSR_X4_64_BSRGAN_PSNR.pth +3 -0
  41. assets/white_tiger.jpg +3 -0
ESRGAN/16xPSNR.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c145d3d3f6a4c9d1270ce59ea8f68db23308d421e5a2affb8f7f8dcdcabbd96e
3
+ size 67254807
ESRGAN/1xDeJPG_realplksr_otf.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bf4959fbd4b39b8877e73ea97a54d4280755371fe4bd64a2836c707d7fd485b
3
+ size 29559554
ESRGAN/2x_Text2HD_v.1-RealPLKSR.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aeb4f5816fa2fd302a2c8aef49c3252cc14a5e22c4d9359f5c266a823ceb269
3
+ size 29580290
ESRGAN/4x-UltraSharp.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5812231fc936b42af08a5edba784195495d303d5b3248c24489ef0c4021fe01
3
+ size 66961958
ESRGAN/4xArtFaces_realplksr_dysample.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf313b7bad114cc22538c28341fcfc9d9e9d9c623ad25633ee49ee34625e271a
3
+ size 29715988
ESRGAN/4xHFA2k_ludvae_realplksr_dysample.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e44af18fd3159787b0dbf81d432a6c1ba12c736fc1184b107ed091e49e327c
3
+ size 29715988
ESRGAN/4xNomos2_hq_dat2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f2be2b4786b5031776aed90e1818564f5576ab1e44da9355c7f3788ea25bdea
3
+ size 140196334
ESRGAN/4xNomos8kDAT.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1c87b04c261251264cd83e2bc90f49c9d5280bf18309e7b9919f1a8b27f53c6
3
+ size 309317507
ESRGAN/4x_CountryRoads_377000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e033b0045226214486cc2975d3a72112496320a1bf511ae2fee5ab4acc94a3c7
3
+ size 66961958
ESRGAN/4x_Fatality_Comix_260000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d3ebdc1abcd24b02556a64d9c65adc3c31ec2f55d731f70370ddc49067ecbb8
3
+ size 66958607
ESRGAN/4x_NMKD-Superscale-Artisoftject_210000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9d9eb7698287573c3c4c08116d1ee75c5c68edf7b905ce8e8d3e1bea0b243d2
3
+ size 66958607
ESRGAN/4x_NMKD-Superscale-SP_178000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d1b0078fe71446e0469d8d4df59e96baa80d83cda600d68237d655830821bcc
3
+ size 66958607
ESRGAN/4x_NMKD-UltraYandere_300k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:717ec8b63ae676b3b6ca6bcc0c7446b75c68a356fde404c725ee4dc8d40e37b2
3
+ size 66961958
ESRGAN/4x_NMKD-YandereNeoXL_200k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddcb5856b948654b6298fd50ed90a461eff8442d298779c23724a8c0e7bbbab1
3
+ size 66961958
ESRGAN/4x_NMKDSuperscale_Artisoft_120000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:090ac07bfbfe306df7b3ddde3004f6cb332ec3183a8a95876f35e90b25d2c80b
3
+ size 67080122
ESRGAN/4x_NickelbackFS_72000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a177fe6c4c125ca0e5dd5d70453112ca17c9de62eb055bef70111edd220d07fa
3
+ size 67077535
ESRGAN/4x_PBRify_RPLKSRd_V3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1325a08842ebfc18aea90e71594aa9b9e82b9c7e16321dccf5b757884a22daf1
3
+ size 29717038
ESRGAN/4x_RealisticRescaler_100000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7381a1229143c9301a94421b610d95eb312e2555743cc9e80099a0e15ac5bd3b
3
+ size 134051293
ESRGAN/4x_SmoothRealism_100000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b391980b3b5a2b246133bad475b8f1c091c69ce0d6e50238dda3bce7bede27c
3
+ size 66958607
ESRGAN/4x_Valar_v1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90c3192bef43e4baaa095c04751868065f23c52d98c1b42e6d0916bfeda75646
3
+ size 67544144
ESRGAN/4x_foolhardy_Remacri.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1a73bd89c2da1ae494774746398689048b5a892bd9653e146713f9df8bca86a
3
+ size 67025055
ESRGAN/8xPSNR.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9face4ec7319f8d7d9d05e25b565e3273a279f5d023a5768339cce6fb069913b
3
+ size 67106707
ESRGAN/8x_NMKD-Superscale_150000_G.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fb44a906b9bc4dd89d6bf8d1d28e6cc59cc58c2a28251aa88c85a38e72c8507
3
+ size 67106707
ESRGAN/8x_NMKD-Typescale_175k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bceca9277a870617d611222adce394f71123fc345334c2bb75e80034c7ab323
3
+ size 67110058
ESRGAN/A_ESRGAN_Single.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6e072f275054682dbd23bf3e7f6fcc40acf1b64f146cab8372b2c220d96fb5f
3
+ size 134082187
ESRGAN/BSRGAN.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d505a0766160921e0388d76e1ddf08cb114303990f9080432bf2b1c988b1c54
3
+ size 67046751
ESRGAN/BSRNet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa633d80ff4db5a546740ae8e3baebe925fc84d3c03e3e9002493acc5e88c3ec
3
+ size 67046751
ESRGAN/WaifuGAN_v3_30000.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2d8c985b59ff33cf1d70bdae489f748b687fff6124310da5c1bfbb8f8913486
3
+ size 66958607
ESRGAN/lollypop.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e609039d8ece82dd6aba14b692181c6722a461a762eef538700683dfef6fb6e
3
+ size 66961958
LDSR/LDSR_model.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c209caecac2f97b4bb8f4d726b70ac2ac9b35904b7fc99801e1f5e61f9210c13
3
+ size 2039822129
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ultimate Upscaler Models Collection
2
+
3
+ <div align="center">
4
+ <img src="assets/white_tiger.jpg" alt="White Tiger - Upscaled with 4xNomos2_hq_dat2.pth" width="500px">
5
+ <p><i>White Tiger - Upscaled with 4xNomos2_hq_dat2.pth</i></p>
6
+ </div>
7
+
8
+ This repository contains a comprehensive collection of upscaler models organized by their primary purpose. The models are compatible with ComfyUI's Ultimate Upscaler node and other popular frameworks.
9
+
10
+ ## Directory Structure
11
+
12
+ | Directory | Description |
13
+ |-----------|-------------|
14
+ | ESRGAN/ | ESRGAN architecture models |
15
+ | SwinIR/ | SwinIR architecture models |
16
+ | LDSR/ | LDSR architecture models |
17
+ | photo-realistic/ | Models optimized for photorealistic content |
18
+ | anime-cartoon/ | Models for anime, manga, and cartoon content |
19
+ | text-documents/ | Models for text and document upscaling |
20
+ | special-purpose/ | Models for specific artistic styles |
21
+ | general-purpose/ | Versatile models for various content types |
22
+
23
+ ## Using with ComfyUI Ultimate Upscaler
24
+
25
+ These models are compatible with ComfyUI's Ultimate Upscaler node. When using them:
26
+
27
+ 1. Select the appropriate model based on your content type
28
+ 2. Adjust the denoise strength based on the content:
29
+ - Lower (0.2-0.4) for preserving details, line art, and textures
30
+ - Moderate (0.4-0.6) for general content
31
+ - Higher (0.6-0.8) for smoother results and noise removal
32
+ 3. Enable tile processing for large images with appropriate overlap (64-128 pixels)
33
+
34
+ ## Using with Hugging Face
35
+
36
+ ```python
37
+ from huggingface_hub import hf_hub_download
38
+ import torch
39
+ from basicsr.archs.rrdbnet_arch import RRDBNet
40
+ from PIL import Image
41
+ import numpy as np
42
+ import torchvision.transforms as transforms
43
+
44
+ # Download a model from this collection
45
+ model_path = hf_hub_download(
46
+ repo_id="ABDALLALSWAITI/Upscalers",
47
+ filename="ESRGAN/4xNomos2_hq_dat2.pth"
48
+ )
49
+
50
+ # Load the model (example for ESRGAN architecture)
51
+ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
52
+ model = RRDBNet(3, 3, 64, 23, gc=32)
53
+ model.load_state_dict(torch.load(model_path), strict=True)
54
+ model.eval()
55
+ model = model.to(device)
56
+
57
+ # Load and preprocess image
58
+ img = Image.open('input.jpg').convert('RGB')
59
+ img = transforms.ToTensor()(img).unsqueeze(0).to(device)
60
+
61
+ # Upscale
62
+ with torch.no_grad():
63
+ output = model(img)
64
+
65
+ # Convert to image
66
+ output = output.squeeze().float().cpu().clamp_(0, 1).numpy()
67
+ output = np.transpose(output[[2, 1, 0], :, :], (1, 2, 0)) * 255.0
68
+ output = Image.fromarray(output.astype(np.uint8))
69
+ output.save('output.jpg')
70
+ ```
SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2032ebf8f401dd3ce2fae5f3852117cb72101ec6ed8358faa64c2a3fa09ed4ac
3
+ size 67277475
SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eca3aee41f53322cd2f5a13650e212b80be8f3c0439d6fe19aef13ab1f509c7
3
+ size 68016035
SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e78e33f22c1aa8a773db0cf4a7381bae97c2362c717f155439ebc690cbd9215
3
+ size 67869037
SwinIR/001_classicalSR_DF2K_s64w8_SwinIR-M_x8.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b522c1ea5c21006ce3398797eb20b131ca0024cc6e7b8f3d5d29fad1310a49c
3
+ size 68460535
SwinIR/003_realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN-with-dict-keys-params-and-params_ema.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e9dd7013e75af8cb2c39dddac7c0df49e80c674afd1d7f266c91c81a887b39
3
+ size 284951549
SwinIR/003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x2_GAN-with-dict-keys-params-and-params_ema.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ed2e3fa627d264477406013ae296caa85bcbdf7a64df77f54571fa2248d229c
3
+ size 133949837
SwinIR/Swin2SR_ClassicalSR_X2_64.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04834dbf863f00168ece32f9fc34ad1e3ad48ff1bf8098812573ed5810b59fa0
3
+ size 68764341
SwinIR/Swin2SR_ClassicalSR_X4_64.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fef30c758897992581f6b3ae7802bea246bc56d88dd36403d377d8dcf47a173
3
+ size 69355825
SwinIR/Swin2SR_RealworldSR_X4_64_BSRGAN_PSNR.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b7afb6ba8c076f7a4987001c142b7bc5f23bf229125775eee599faf5bf7c40e
3
+ size 68617773
assets/white_tiger.jpg ADDED

Git LFS Details

  • SHA256: f9b24ad3e48d11fb7dabc243c6b87bf1199a815f68de3c8ebc82858f291da60a
  • Pointer size: 127 Bytes
  • Size of remote file: 77 Bytes