Instructions to use AtlasPilotPuppy1/NAFNet-SIDD-width32-litert-inline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use AtlasPilotPuppy1/NAFNet-SIDD-width32-litert-inline with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
NAFNet SIDD width 32, LiteRT with inlined weights
The same model as litert-community/NAFNet-SIDD-width32-LiteRT
(nafnet_sidd_width32_fp16.tflite), with every weight buffer stored inside the flatbuffer.
| File | Size | SHA-256 |
|---|---|---|
nafnet_sidd_width32_fp16_inline.tflite |
62,448,376 bytes | f94ecd90bab672091c2c3e2ab545043b0b66ea0b8b9753d4e8129e3da5329597 |
Why this copy
The source file keeps 477 weight buffers after the flatbuffer. LiteRT reads those, but the TensorFlow Lite C runtime that ships for iOS does not ("Input tensor lacks data"), so the model cannot load on iPhone. This copy moves the bytes into the flatbuffer; nothing else changes. Under LiteRT the two files give identical output on the same input. On the iOS TensorFlow Lite 2.17 runtime the source file does not load and this one loads and runs.
Input and output
- Input
[1, 3, 256, 256]: RGB in [0, 1], NCHW. - Output
[1, 3, 256, 256]: the denoised image, RGB in [0, 1].
Credits and licence
NAFNet by Megvii Research (ECCV 2022), MIT licence; LICENSE is the
project's, including its third-party notices (copyright (c) 2022 megvii-model). LiteRT conversion by litert-community.
- Downloads last month
- -
Model tree for AtlasPilotPuppy1/NAFNet-SIDD-width32-litert-inline
Base model
litert-community/NAFNet-SIDD-width32-LiteRT