-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
With either grayscale or color images test.py is giving an error. E.g. feeding a 184 x 274 grayscale image gives: ValueError: Cannot feed value of shape (1, 184, 274, 1, 3) for Tensor 'input_gray:0', which has shape '(?, ?, ?, 1)'
Thanks for your help!
Edit:
In dataset.py changed line 147 to: img = imread(path, mode='L') from img = imread(path). Now the shape is (1, 184, 274, 1).
This results in a second error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [1,512,3,5] vs. shape[1] = [1,512,4,6]
Thanks again!
TonyZhang1002
Metadata
Metadata
Assignees
Labels
No labels