ImageCompletion_IncompleteData
ImageCompletion_IncompleteData copied to clipboard
TypeError: Input 'input_sizes' of 'Conv2DBackpropInput' Op has type float32 that does not match expected type of int32.
Hello,
When running train.py I got this error which raise from deconv2d:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 128, in
Anyone has any idea to fix?
I have encountered the same problem. Have you solved it?
I have encountered the same problem. Have you solved it?
"Op has type float32 that does not match expected type of int32."
When I convert the codes from Python2 to Python3, I met the same problem.
netwrok.py line 165
deconv1 = deconv2d(conv8, 4, [self.batch_size, input_shape[1]/2, input_shape[2]/2, 128], name="deconv1")
input_shape[1]/2 ↓ input_shape[1]//2
problem solved