-
Notifications
You must be signed in to change notification settings - Fork 6
π Model Training Principles
This section provides an overview of the guiding principles I follow while training my models. It should give a sense of whether these are the right models for you, and what sets my models apart from others.
Balanced Sharpness: While my models deblur and sharpen the input, they aren't the sharpest ones available. This is intentional-- the models aim to produce aΒ natural-looking upscale, as if the result was something natively produced by the studio. In addition, oversharpening tends to produce undesireable artifacts.
Roof tiles so sharp that you can cut yourself on them.
Line Art Retention: Retaining crisp line art is key to making anime upscales look pleasing to the eye. Some models, even those trained on modern anime, can produce "hallowed" lines (example below) at higher resolutions. My models are trained to retain / enhance line art, and of course, avoid the hallowed line effect.
Note how the lines here don't seem solid. Sometimes, it's an artistic decision. But this example is the model not properly handling line art after oversharpening. π€’
Detail Retention: This largely speaks for itself-- you don't want a model that nukes textures and/or destroys details. While it's not always possible to achieve flawless detail retention (especially with models that have more-aggressive clean-up), detail retention is something that my models generally excel in.
Where did the fence go?
Compression Clean-up: This is self-explanatory as well. When upscaling, the model should clean up compression artifacts present in the source (haloing, noise, chroma bleed, etc.) rather than upscale the artifacts along with the rest of the picture. However, it is also important to not go overboard, as doing so comes at the expense of detail retention.
On the left, an example of a model that upscaled but didn't fix the white haloing, vs. on the right, AniDVD which upscaled and cleaned haloing.
Depth of Field and Intentional Blur Retention: DOF/blur effects are extremely common in modern anime, and present even in older anime. While it can be tempting to sharpen the crap out of everything on the screen (see AniScaleV1 below), such an approach can create odd-looking results when it brings into focus items that should be out of focus. Aside from AniScaleV1, which is the first model I ever released, all my models are trained to handle blur effects appropriately.
Some things are better left blurred...
Upscaling Artifacts: Some models produce upscaling artifacts-- blemishes on the image generated by the model during the upscaling process. These can vary from annoying to hardly noticeable, but in my book, it's best to avoid generating artifacts to begin with!
An example of a fairly subtle artifact-- the white glow generated at the intersection of the two lines.
Use Common Sense!