Update README.md
Browse files
README.md
CHANGED
|
@@ -3,8 +3,17 @@ license: agpl-3.0
|
|
| 3 |
pipeline_tag: image-classification
|
| 4 |
---
|
| 5 |
|
| 6 |
-
A
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
pipeline_tag: image-classification
|
| 4 |
---
|
| 5 |
|
| 6 |
+
A small 2M param CNN classifier to predict the quality factor of lossy image codecs. Covers JPEG, JXL, AVIF and WEBP. Dataset (45k) included RAW photography and PNG illustrations.
|
| 7 |
|
| 8 |
+
Overall accuracy was 95.3% on train, 96.6% on val (7% split). Take the predictions with a large grain of salt, its not yet ready for production.
|
| 9 |
|
| 10 |
+
This model will *not* work properly in the following scenarios:
|
| 11 |
+
|
| 12 |
+
- Really small images (sub 512px)
|
| 13 |
+
- Mutiple resize and/or compression loops (would have ballooned training time for first iteration)
|
| 14 |
+
- <insert lossy format> renamed to PNG's
|
| 15 |
+
- Mixed media; low quality JPEG background with an overlaid illustration.
|
| 16 |
+
|
| 17 |
+
Motivated by research showing image models trained on many <= q=75 JPEGS had negative outcomes.
|
| 18 |
+
|
| 19 |
+
Credit: Rimuru original model and original code
|