anima
decoder
sorryhyun commited on
Commit
bde8c5a
·
verified ·
1 Parent(s): c590523

x1/anima_pixel_decoder_sharp: GAN finish on the base (run x1dgan512_1123_1214), card Sharp section

Browse files
.gitattributes CHANGED
@@ -51,3 +51,4 @@ samples/x2_mono_vae.png filter=lfs diff=lfs merge=lfs -text
51
  samples/x2_mono_vae_crop.png filter=lfs diff=lfs merge=lfs -text
52
  samples/sharp_compare.png filter=lfs diff=lfs merge=lfs -text
53
  samples/base_compare.png filter=lfs diff=lfs merge=lfs -text
 
 
51
  samples/x2_mono_vae_crop.png filter=lfs diff=lfs merge=lfs -text
52
  samples/sharp_compare.png filter=lfs diff=lfs merge=lfs -text
53
  samples/base_compare.png filter=lfs diff=lfs merge=lfs -text
54
+ samples/decoder_sharp_compare.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -28,6 +28,7 @@ writes RGB pixels directly, in place of the VAE decode. The head and its trainin
28
  | path | output | what it is |
29
  |---|---|---|
30
  | `x1/anima_pixel_decoder_base.safetensors` | ×1 | the current head (2026-11-23), trained with a DINOv3 feature term |
 
31
  | `x1/anima_pixel_head_old.safetensors` | ×1 | the previous head (LPIPS term), formerly `anima_pixel_head.safetensors` |
32
  | `x1/anima_pixel_head_sharp_old.safetensors` | ×1 | an earlier ×1 head with a GAN finish, formerly `anima_pixel_head_sharp.safetensors` |
33
  | `x2/anima_pixel_head_x2.safetensors` | ×2 | decode + 2× upscale in one readout |
@@ -82,6 +83,36 @@ closer). `VAE(x̂0)` decodes the same step's x̂0 with the VAE, the comparison a
82
  Against the same recipe trained with the LPIPS term (not published) on the same images, the
83
  DINO distance is 12 – 34 % lower at the base points and unchanged at the turbo point.
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  ## Sharp (old)
86
 
87
  `x1/anima_pixel_head_sharp_old.safetensors` is an earlier ×1 head finished with a GAN term on PE-Spatial features,
@@ -207,6 +238,7 @@ Held-out reads during training, earlier ×1 head (dB, colour / mono):
207
  regions come out about 1 – 2.5 levels darker than the VAE in linear light; speed lines and
208
  footnote-size glyphs are slightly soft under zoom.
209
  - The lowest per-image PSNRs are manga pages and sketches.
 
210
  - ×2: screentone comes out as a wavy pattern instead of dots (see the monochrome crop).
211
  - One trained head per file, one seed; no run spread.
212
 
 
28
  | path | output | what it is |
29
  |---|---|---|
30
  | `x1/anima_pixel_decoder_base.safetensors` | ×1 | the current head (2026-11-23), trained with a DINOv3 feature term |
31
+ | `x1/anima_pixel_decoder_sharp.safetensors` | ×1 | the base with a GAN finish (2026-11-23): sharper detail, further from the VAE decode |
32
  | `x1/anima_pixel_head_old.safetensors` | ×1 | the previous head (LPIPS term), formerly `anima_pixel_head.safetensors` |
33
  | `x1/anima_pixel_head_sharp_old.safetensors` | ×1 | an earlier ×1 head with a GAN finish, formerly `anima_pixel_head_sharp.safetensors` |
34
  | `x2/anima_pixel_head_x2.safetensors` | ×2 | decode + 2× upscale in one readout |
 
83
  Against the same recipe trained with the LPIPS term (not published) on the same images, the
84
  DINO distance is 12 – 34 % lower at the base points and unchanged at the turbo point.
85
 
86
+ ## Sharp
87
+
88
+ `x1/anima_pixel_decoder_sharp.safetensors` is `anima_pixel_decoder_base` finished with a GAN term
89
+ on PE-Spatial features (2,000 rollouts, the DINOv3 term kept). The discriminator sees random
90
+ 512×512 crops, so its patch grid does not stay aligned with the DiT's 16-px tokens. Foliage,
91
+ hair and small detail come out sharper. The head draws that detail itself, so it is further
92
+ from the original pixel by pixel. On generated images (base 28 steps, CFG 4, 16 prompts × 2
93
+ seeds), it scores 31.17 dB against the VAE decode, where `anima_pixel_decoder_base` scores 32.25.
94
+
95
+ Base DiT, Euler 28 steps, shift 3, CFG 4, seed 0, the same latent in each row; 378×378 crops at
96
+ native resolution. Columns: VAE Decode, `anima_pixel_decoder_base`, `anima_pixel_decoder_sharp`.
97
+
98
+ ![VAE Decode, anima_pixel_decoder_base and anima_pixel_decoder_sharp](samples/decoder_sharp_compare.png)
99
+
100
+ Held-out images against the original (dB / DINO distance ×1e-3), sharp against base:
101
+
102
+ | point | set | sharp | base |
103
+ |---|---|---|---|
104
+ | base, σ 0.058 (50 steps) | test (30) | 33.27 / 0.116 | 34.00 / 0.109 |
105
+ | | text (8) | 28.34 / 0.089 | 29.00 / 0.085 |
106
+ | | manga (10) | 25.60 / 0.127 | 26.23 / 0.128 |
107
+ | base, σ 0.136 (20 steps) | test | 30.65 / 0.164 | 31.18 / 0.159 |
108
+ | | text | 25.83 / 0.129 | 26.34 / 0.127 |
109
+ | | manga | 23.50 / 0.174 | 24.02 / 0.178 |
110
+ | turbo, σ 0.5 | test | 22.83 / 0.494 | 22.84 / 0.492 |
111
+
112
+ The GAN term was trained at the base points only. At the turbo point the head was trained with
113
+ the regression loss alone, so on the turbo it decodes like the base file. On manga pages, a faint
114
+ regular pattern can appear in screentone areas. For manga, compare both files.
115
+
116
  ## Sharp (old)
117
 
118
  `x1/anima_pixel_head_sharp_old.safetensors` is an earlier ×1 head finished with a GAN term on PE-Spatial features,
 
238
  regions come out about 1 – 2.5 levels darker than the VAE in linear light; speed lines and
239
  footnote-size glyphs are slightly soft under zoom.
240
  - The lowest per-image PSNRs are manga pages and sketches.
241
+ - `anima_pixel_decoder_sharp`: a faint regular pattern in some screentone areas.
242
  - ×2: screentone comes out as a wavy pattern instead of dots (see the monochrome crop).
243
  - One trained head per file, one seed; no run spread.
244
 
samples/decoder_sharp_compare.png ADDED

Git LFS Details

  • SHA256: 1b8867f0603d6292264a0755fb5b4cce0f62aa58ecbefcd2fbbae7909332f1fb
  • Pointer size: 132 Bytes
  • Size of remote file: 2.27 MB
x1/anima_pixel_decoder_sharp.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3deebe527adfabab68d8c9a834e1d8713fc4f62d00e5064f526ee9750d87868
3
+ size 99442424