NAFNet icon indicating copy to clipboard operation
NAFNet copied to clipboard

train on our dataset

Open mhfatemi opened this issue 3 years ago • 1 comments

can you put complete code to train network on our dataset??

mhfatemi avatar May 17 '22 18:05 mhfatemi

Hi, mammad7676,

This repo is based on BasicSR, and it is recommended to refer to the dataset preparation doc and choose 'disk' (which is the simplest) as an example.

The main steps are as follows,

  1. prepare your dataset, and make sure the input images and target images are organized by the same image name. e.g.
INPUT_FOLDER/A.png
INPUT_FOLDER/B.png
INPUT_FOLDER/C.png
....

TARGET_FOLDER/A.png
TARGET_FOLDER/B.png
TARGET_FOLDER/C.png
....
  1. The modification of the training config.

Hope that helps you!

mayorx avatar May 18 '22 14:05 mayorx