sandeepraju / ihradis-cnn-deblur

Image deblurring with Convolutional Neural Networks. Scripts & Neural network models available here
http://www.fit.vutbr.cz/~ihradis/CNN-Deblur/
73 stars 24 forks source link

Problem about CNN-Deblur #1

Closed BaiYu0120 closed 7 years ago

BaiYu0120 commented 8 years ago

Hi, I have run the online deblur process of this paper, but the output is incorrect. Which the input data type is suitable, 3 channels of RGB? Or are there anything I should attach importance to it?

Thanks. Yu

sandeepraju commented 7 years ago

you just need to run it as shown in the below command:

echo "/path/to/input/image.png" | python processWholeImage.py --model_def ../BMVC_nets/S14_19_200.deploy --pretrained_model ../BMVC_nets/S14_19_FQ_178000.model --out_scale 1 --extract_layer CONVX_15 --output_path /path/to/output/folder/ --border 25 --tile_resolution 150

here, the input image (image.png) is RGB.