Update model card
Browse files
README.md
CHANGED
|
@@ -48,13 +48,9 @@ sRGB gamma — DDColor is trained against `cv2.cvtColor` float Lab):
|
|
| 48 |
4. Resize ab back to the original size, concatenate with the **original-resolution
|
| 49 |
L**, and convert Lab→RGB. Only chroma is low-res; full-res luminance is preserved.
|
| 50 |
|
| 51 |
-
A reference JavaScript implementation of exactly this pipeline lives in the
|
| 52 |
-
`ddcolor.mjs` factory of the Edge Tools build (see Provenance).
|
| 53 |
-
|
| 54 |
## Provenance
|
| 55 |
|
| 56 |
-
|
| 57 |
-
hand-massaged:
|
| 58 |
|
| 59 |
- **Architecture code**: [`piddnad/DDColor`](https://github.com/piddnad/DDColor)
|
| 60 |
pinned at `2adb63f2656ac41cbdf7b894cddd94121a3faf13`
|
|
@@ -68,8 +64,9 @@ hand-massaged:
|
|
| 68 |
cast to float16 via `onnxconverter_common.float16.convert_float_to_float16(
|
| 69 |
..., keep_io_types=True)`. `onnxsim` / symbolic-shape-infer are skipped — the
|
| 70 |
input is fixed-size, so shapes are already static.
|
| 71 |
-
- **
|
| 72 |
-
|
|
|
|
| 73 |
|
| 74 |
## License
|
| 75 |
|
|
|
|
| 48 |
4. Resize ab back to the original size, concatenate with the **original-resolution
|
| 49 |
L**, and convert Lab→RGB. Only chroma is low-res; full-res luminance is preserved.
|
| 50 |
|
|
|
|
|
|
|
|
|
|
| 51 |
## Provenance
|
| 52 |
|
| 53 |
+
Exported from the upstream PyTorch checkpoint — reproducible from public sources:
|
|
|
|
| 54 |
|
| 55 |
- **Architecture code**: [`piddnad/DDColor`](https://github.com/piddnad/DDColor)
|
| 56 |
pinned at `2adb63f2656ac41cbdf7b894cddd94121a3faf13`
|
|
|
|
| 64 |
cast to float16 via `onnxconverter_common.float16.convert_float_to_float16(
|
| 65 |
..., keep_io_types=True)`. `onnxsim` / symbolic-shape-infer are skipped — the
|
| 66 |
input is fixed-size, so shapes are already static.
|
| 67 |
+
- **Validation**: every published build is checked by an automated colorization
|
| 68 |
+
test against this exact artifact before upload — a grayscale input must come
|
| 69 |
+
back with real chroma while preserving the source luminance.
|
| 70 |
|
| 71 |
## License
|
| 72 |
|