Practical overview
When it fits
Use Dped when you want code and pretrained models for a locally run deep-learning photo-enhancement workflow, or when you want to train a model using the project’s dataset and VGG-19 setup.
Who it is for
- Developers building a local photo-enhancement workflow from Python code and pretrained models.
- Researchers or practitioners who want to train image-enhancement models using the DPED dataset.
- Users who need to process test images at selected resolutions with camera-category models.
Documented uses
- Enhance smartphone photos toward DSLR-style image quality.
- Apply provided pretrained models to test images.
- Train an enhancement model for the documented iPhone, Blackberry or Sony categories.
- Process images at original or selected test resolutions.
Requirements & limits
- This is a code repository rather than a hosted editing service; the documented workflows use local scripts.
- Testing and training have distinct requirements: the README lists the DPED dataset for testing, while training additionally uses a pretrained VGG-19 model and dataset folders.
- The stated software stack includes Python image libraries, TensorFlow 1.x or 2.x, CUDA and cuDNN, with an NVIDIA GPU listed as a prerequisite.
- Testing exposes a
use_gpuoption and resolution settings, includingorig; the README does not establish performance on particular hardware. - The README warns that smaller training batches may cause unstable training.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Test images with a provided pretrained model
Apply one of Dped’s provided pretrained camera models to test images.
Before you start
- Python with Pillow, scipy, numpy and imageio
- TensorFlow 1.x or 2.x with CUDA and cuDNN
- NVIDIA GPU is listed among the prerequisites
- The DPED dataset in the dped/ folder
Steps
Place the DPED dataset in dped/.
Run the documented test script with a provided model, such as the command below.
python test_model.py model=iphone_origSet documented options such as
test_subset,resolutionanduse_gpuas needed.
Expected outcome
Processed test images are saved as visual results; the repository lists visual_results/ for enhanced test images.
Guide limitations
- The README specifies provided model choices as iphone_orig, blackberry_orig and sony_orig.
- The dataset and software prerequisites must be prepared locally.
- The README notes GPU memory errors can occur; it does not provide a complete machine-specific compatibility guarantee.
Prepare data and dependencies for model training
Set up the documented dataset and VGG-19 prerequisites for Dped training.
Before you start
- Python with Pillow, scipy, numpy and imageio
- TensorFlow 1.x or 2.x with CUDA and cuDNN
- NVIDIA GPU
- DPED training dataset and pretrained VGG-19 model
Steps
Download the pretrained VGG-19 model and place it in
vgg_pretrained/.Download the DPED dataset and extract it into
dped/.Confirm that
dped/contains thesony/,iphone/andblackberry/subfolders.
Expected outcome
The documented data and model prerequisites are arranged for the repository’s subsequent training stage.
Guide limitations
- This guide covers setup only; training itself requires a camera model and the documented training command.
- The README warns smaller training batches can lead to unstable training.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- aiff22/DPED · Official homepage title · retained in its source language
Related options
PyNET — A separate project linked in the Dped README for enhancing RAW photos.
PyNET-Bokeh — A separate project linked in the Dped README for rendering a bokeh effect.

