In test.py in CPU mode the call to prepare_image line (178 and 179) returns wrong image shape due to wrong data_format.
To fix just pass the data_format para:
I have followed you but got this error
ValueError: Cannot feed value of shape (2, 3, 380, 600) for Tensor 'Placeholder:0', which has shape '(?, ?, ?, 3)'
Hi,
In
test.py
in CPU mode the call toprepare_image
line (178 and 179) returns wrong image shape due to wrongdata_format
. To fix just pass thedata_format
para: