mlboydaisuke / zero-dce-litert

huggingface.co
Total runs: 106
24-hour runs: -5
7-day runs: -10
30-day runs: 28
Model's Last Updated: September 04 2026
image-to-image

Introduction of zero-dce-litert

Model Details of zero-dce-litert

Zero-DCE — LiteRT (TFLite) GPU, FP16

On-device LiteRT ( .tflite ) conversion of Zero-DCE (Zero-Reference Deep Curve Estimation) for low-light image enhancement . The DCE-Net is a tiny 7-layer CNN that estimates pixel-wise tone curves; the curves are applied iteratively (8×) to brighten the image. The whole pipeline (curve estimation and the iterative application) is baked into the graph, so the model takes a dark image and returns the enhanced image directly.

The model runs fully on the LiteRT CompiledModel GPU accelerator (ML Drift): every op is GPU-native, no CPU fallback, no Flex/Custom ops. Converted with litert-torch with no patches .

Files
File Precision Size
zerodce_512_fp16.tflite fp16 weights ~0.18 MB
zerodce_512.tflite fp32 ~0.34 MB
I/O
  • Input : [1, 512, 512, 3] float32, NHWC , RGB, range [0, 1] (just divide by 255 — no mean/std normalization).
  • Output : [1, 512, 512, 3] float32, NHWC , RGB, range [0, 1] — the enhanced image. Multiply by 255 to display.
Ops

The graph lowers entirely to GPU-clean builtins — the iterative curve application x = x + r·(x² − x) is written as x*x so it becomes MUL , not POW :

CONV_2D x7, MUL x16, SUB x8, ADD x8, SLICE x8, CONCATENATION x3, TANH x1

No GATHER_ND , no Flex/Custom, no >4D reshapes.

Fidelity
  • Converted fp32 vs original PyTorch: corr 1.0000 , max|diff| ~2e-5.
  • fp16 vs fp32: corr 1.0000 , max|diff| ~3e-5.
On-device (Pixel 8a, verified)

The fp16 model compiles to 58 / 58 nodes on the LiteRT GPU delegate (LITERT_CL) — full GPU residency, no CPU fallback.

Usage (Android, LiteRT CompiledModel)
val model = CompiledModel.create(
    context.assets, "zerodce_512_fp16.tflite",
    CompiledModel.Options(Accelerator.GPU), null
)
val inputs = model.createInputBuffers()
val outputs = model.createOutputBuffers()
inputs[0].writeFloat(rgbFloats01)   // [1,512,512,3] interleaved RGB in [0,1]
model.run(inputs, outputs)
val enhanced = outputs[0].readFloat()  // [1,512,512,3] in [0,1]

A complete Android sample (live camera + gallery low-light enhancement) is available in google-ai-edge/litert-samples .

License & attribution
  • License: Apache-2.0 (© the Zero-DCE authors, Li-Chongyi/Zero-DCE ). Original work: Guo et al., "Zero-Reference Deep Curve Estimation for Low-Light Image Enhancement" , CVPR 2020. This is a format conversion of the official weights (no architectural changes); all credit to the original authors.

Runs of mlboydaisuke zero-dce-litert on huggingface.co

106
Total runs
-5
24-hour runs
-6
3-day runs
-10
7-day runs
28
30-day runs

More Information About zero-dce-litert huggingface.co Model

More zero-dce-litert license Visit here:

https://choosealicense.com/licenses/apache-2.0

zero-dce-litert huggingface.co

zero-dce-litert huggingface.co is an AI model on huggingface.co that provides zero-dce-litert's model effect (), which can be used instantly with this mlboydaisuke zero-dce-litert model. huggingface.co supports a free trial of the zero-dce-litert model, and also provides paid use of the zero-dce-litert. Support call zero-dce-litert model through api, including Node.js, Python, http.

mlboydaisuke zero-dce-litert online free

zero-dce-litert huggingface.co is an online trial and call api platform, which integrates zero-dce-litert's modeling effects, including api services, and provides a free online trial of zero-dce-litert, you can try zero-dce-litert online for free by clicking the link below.

mlboydaisuke zero-dce-litert online free url in huggingface.co:

https://huggingface.co/mlboydaisuke/zero-dce-litert

zero-dce-litert install

zero-dce-litert is an open source model from GitHub that offers a free installation service, and any user can find zero-dce-litert on GitHub to install. At the same time, huggingface.co provides the effect of zero-dce-litert install, users can directly use zero-dce-litert installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

zero-dce-litert install url in huggingface.co:

https://huggingface.co/mlboydaisuke/zero-dce-litert

Url of zero-dce-litert

Provider of zero-dce-litert huggingface.co

mlboydaisuke
ORGANIZATIONS

Other API from mlboydaisuke