tdeboissiere / DeepLearningImplementations

Implementation of recent Deep Learning papers
MIT License
1.81k stars 650 forks source link

Error in Pix2Pix #12

Closed LukasMosser closed 7 years ago

LukasMosser commented 7 years ago

Line 177 using tensorflow I get this error message on running: Input 'input_sizes' of 'Conv2DBackpropInput' Op has type float32 that does not match expected type of int32.

Possibly input tensor needs to be converted to float32 or int32?

tdeboissiere commented 7 years ago

As far as I can tell, the error is probably on your side: tensorflow expects input dimensions to be specified as integers, not floats.

So your tensor should be of type float32 but the input dimensions should be of type int32.

LukasMosser commented 7 years ago

Yes, you are correct. Closing this