SRN-Deblur
SRN-Deblur copied to clipboard
not enough values to unpack (expected 3, got 2)
Traceback (most recent call last):
File "run_model.py", line 50, in
If the Bit Resolution of a picture is 8, there will be error. Then I change "blur = scipy.misc.imread(os.path.join(input_path, imgName))" to blur = scipy.misc.imread(os.path.join(input_path, imgName),mode='RGB') and solve it.
I think your image has only one channel ?
Then you can use --model=gray and modify a little the code to process only one channel.
I think your image has only one channel ? Then you can use
--model=grayand modify a little the code to process only one channel.
There're three channels, i'm sure.
Actually, you can check blur.shape to see what exactly it is.