Practical overview
When it fits
Use it when you want to examine or build on a research implementation for low-light enhancement or nighttime light-effects suppression, and can work with its documented Python and dataset workflows.
Who it is for
- Computer-vision researchers exploring unsupervised night-image enhancement.
- Developers seeking an implementation to adapt for low-light image processing.
- Practitioners working with night images affected by glare or other light effects.
Documented uses
- Test low-light images with the documented pre-trained LOL model workflow.
- Train the low-light enhancement workflow using the listed LOL-family datasets.
- Explore datasets and materials for light-effects suppression in night scenes.
Requirements & limits
The repository is public and identifies the project as MIT-licensed. Its README also links to an online test hosted on Replicate.
- The project is research implementation code, not a documented general-purpose image editor.
- The README separates pre-trained LOL testing from training and lists different dataset prerequisites for training.
- The documented local environment specifies Python 3.7, PyTorch 1.10.2 and CUDA Toolkit 11.3.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare the local Python environment
Set up the repository's documented environment before following its separate image-testing or training instructions.
Before you start
- Conda
- Python 3.7
- PyTorch 1.10.2, torchvision, torchaudio and CUDA Toolkit 11.3
- The repository's requirements.txt
Steps
Clone https://github.com/jinyeying/night-enhancement.git and change into the night-enhancement directory.
Create and activate a Conda environment named night with Python 3.7.
Install PyTorch 1.10.2, torchvision, torchaudio and CUDA Toolkit 11.3 from the pytorch Conda channel.
Install the listed Python dependencies with python3 -m pip install -r requirements.txt.
Expected outcome
The repository's documented Conda environment and Python dependencies are installed.
Guide limitations
- These steps cover environment setup only; they do not run an enhancement or training job.
- The README does not specify hardware requirements.
Prepare inputs for the documented pre-trained low-light test
Place the pre-trained LOL model and test images in the locations named by the README before its test stage.
Before you start
- The repository's documented environment
- The pre-trained LOL model file
- Low-light test images
Steps
Download the pre-trained LOL model from one of the README's listed download sources.
Place the model in ./results/LOL/model/.
Put the test images in ./LOL/.
Expected outcome
The model and test images are arranged in the repository locations specified for low-light enhancement testing.
Guide limitations
- The README lists python main.py as the test command, but this guide covers input preparation only.
- The instructions identify the pre-trained model as the LOL model.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 November 2026
- Original website title
- jinyeying/night-enhancement · Official homepage title · retained in its source language

