You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "run_model.py", line 50, in
tf.app.run()
File "D:\Anaconda3\envs\tf18\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "run_model.py", line 42, in main
deblur.test(args.height, args.width, args.input_path, args.output_path)
File "F:\python\SRN-Deblur-master\models\model.py", line 282, in test
h, w, c = blur.shape
ValueError: not enough values to unpack (expected 3, got 2)
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.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "run_model.py", line 50, in
tf.app.run()
File "D:\Anaconda3\envs\tf18\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "run_model.py", line 42, in main
deblur.test(args.height, args.width, args.input_path, args.output_path)
File "F:\python\SRN-Deblur-master\models\model.py", line 282, in test
h, w, c = blur.shape
ValueError: not enough values to unpack (expected 3, got 2)
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.
The text was updated successfully, but these errors were encountered: