Trên GitHub, sczhou/LEDNet đã đạt 265 sao, ngôn ngữ Python. [ECCV 2022] LEDNet: Joint Low-light Enhancement and Deblurring in the Dark
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
LEDNet: Joint Low-light Enhancement and Deblurring in the Dark (ECCV 2022)
Paper | Project Page | Video | Replicate Demo | TensorRT & ONNX
Shangchen Zhou, Chongyi Li, Chen Change Loy
S-Lab, Nanyang Technological University
Updates
2025.10.29: LEDNet_TensorRT provides both ONNXRuntime and TensorRT implementations. 🚀 Many thanks to @koamd!
2022.09.30: Upload LOLBlur dataset to BaiduPan (key: dz6u) for quick download in China :cn:
2022.09.27: Upload LOLBlur dataset to Google Drive.
2022.09.27: The code and pre-trained models are released :hugs:
2022.07.04: This repo is created.
TODO
Built and train a new network for low-light enhancement
Add checkpoint of LEDNetGAN (trained with GAN)
Add checkpoint of retrained LEDNet (retrained on BasicSR)
Add checkpoint of LEDNet in paper
LOL-Blur Dataset
(The datasets are hosted on both Google Drive and BaiduPan)
Dataset
Link
Number
Description
LOL-Blur
Google Drive / BaiduPan (key: dz6u)
12,000
A total of 170 videos for training and 30 videos for testing, each of which has 60 frames, amounting to 12,000 paired data. (Note that the first and last 30 frames of each video are NOT consecutive, and their darknesses are simulated differently as well.)
Real-LOL-Blur
Google Drive / BaiduPan (key: fh32)
1354
482 real-world night blurry images (from RealBlur-J Dataset) + 872 real-world night blurry images acquired by Sony RX10 IV camera.
[Unfold] for detailed description of each folder in LOL-Blur dataset:
LOL-Blur
Description
low_blur
low-light blurry images
low_blur_noise
low-light blurry and noisy images
low_sharp
low-light sharp images
high_sharp_scaled
normal-light sharp images with slightly brightness reduced (simulate soft-light scenes)
high_sharp_original
normal-light sharp images without brightness reduced
[1] This method use distorted image as reference. Please refer to the paper for details.
[2] Currently, only naive random forest regression is implemented and does not support backward.
Download the LOL-Blur Dataset from Google Drive / BaiduPan (key: dz6u).
Specify dataroot_gt and dataroot_lq in the corresponding option file.
Training LEDNet:
# without GAN
python basicsr/train.py -opt options/train_LEDNet.yml
# with GAN
python basicsr/train.py -opt options/train_LEDNetGAN.yml
This project is built on BasicSR, the detailed tutorial on training commands and config settings can be found here.
Quick Inference
Download the LEDNet pretrained model from [Release V0.1.0] to the weights folder. You can manually download the pretrained models OR download by runing the following command.
# test LEDNet (paper model)
python inference_lednet.py --model lednet --test_path ./inputs
# test retrained LEDNet (higher PSNR and SSIM)
python inference_lednet.py --model lednet_retrain --test_path ./inputs
# test LEDNetGAN
python inference_lednet.py --model lednetgan --test_path ./inputs
The results will be saved in the results folder.
Evaluation
# set evaluation metrics of 'psnr', 'ssim', and 'lpips (vgg)'
python scripts/calculate_iqa_pair.py --result_path 'RESULT_ROOT' --gt_path 'GT_ROOT' --metrics psnr ssim lpips
(The released model was retrained using the BasicSR framework, which makes it easier to use or further develop upon this work. NOTE that the PSNR and SSIM scores of retrained model are higher than the paper model.)
Generate Low-light Images from Your Own Data
Download the CE-ZeroDCE pretrained model from [Release V0.1.0] to the weights folder. You can manually download the pretrained models OR download by runing the following command.
To run containerized local inference with LEDNet using Cog, run the following commands in the project root:
cog run python basicsr/setup.py develop
cog predict -i image=@'path/to/input_image.jpg'
You can view this demo running as an API here on Replicate.
License
This project is licensed under S-Lab License 1.0. Redistribution and use for non-commercial purposes should follow this license.
Acknowledgement
This project is based on BasicSR. We calculate evaluation metrics using IQA-PyTorch toolbox. Thanks for their awesome works.
Citation
If our work is useful for your research, please consider citing:
@InProceedings{zhou2022lednet,
author = {Zhou, Shangchen and Li, Chongyi and Loy, Chen Change},
title = {LEDNet: Joint Low-light Enhancement and Deblurring in the Dark},
booktitle = {ECCV},
year = {2022}
}
Contact
If you have any questions, please feel free to reach me out at [email protected].
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/sczhou/LEDNet là nguồn chính thức.
sczhou/LEDNet có những chủ đề gì?
GitHub topics của sczhou/LEDNet: "image-deblurring", "image-enhancement", "lednet", "low-light-image-enhancement". TopGit xếp repo vào nhóm mã nguồn mở.
sczhou/LEDNet có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho sczhou/LEDNet. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
sczhou/LEDNet có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho sczhou/LEDNet. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
sczhou/LEDNet còn đang phát triển không?
Commit gần nhất trên sczhou/LEDNet là 9 tháng trước (theo timestamp GitHub). Repo có 30 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về LEDNet?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về LEDNet.