All Projects → mgharbi → Demosaicnet_torch

mgharbi / Demosaicnet_torch

Programming Languages

python
139335 projects - #7 most used programming language

This code is outdated and no longer maintained, please use https://github.com/mgharbi/demosaicnet instead


Runs on python3 (tested on Anaconda for Ubuntu 14.03). Other dependencies are listed in requirements.

  1. Install and download the data
make setup
  1. Launch a visdom server to monitor training and display a few images
make server
  1. Train a net
make train_demo
  1. Test a net (todo)

Dataset format

The dataloader assumes the dataset is given as a listing file containing the relative path to the images. For example if you have images like:

root
├── filelist.txt
├── hdrvdp
│   ├── 000
│   │   ├── 000001.png
│   │   ├── 000002.png
│   │   ├── 000003.png
│   │   ├── 000004.png
│   │   ├── 000005.png

filelist.txt should have one path per line as such:

hdrvdp/000/000001.png
hdrvdp/000/000002.png
hdrvdp/000/000003.png
hdrvdp/000/000004.png
hdrvdp/000/000005.png

etc.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].