jkhu29 / Deblurring-by-Realistic-Blurring

A PyTorch implementation of the "Deblurring by Realistic Blurring", unofficially
https://arxiv.org/abs/2004.01860
MIT License
25 stars 2 forks source link

About Dataset #6

Open lurchycc opened 2 years ago

lurchycc commented 2 years ago

Thank you very much for opening the train code of this article. I have a set of clear and blur data of unpaired. How can I make a tf.record file that the code needs?

jkhu29 commented 2 years ago
python tfrecord_make.py --mode motion-cycle --size_image 64 --stride 64 --sharp_path /your/sharp/images/path --blur_path /your/blur/images/path --output_path ./train.tfrecord