-
-
Save jimfleming/75d88e888044615dd6e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
W tensorflow/core/common_runtime/executor.cc:1102] 0x7fc81f0d6250 Compute status: Invalid argument: Conv2DBackpropInput: Number of rows of out_backprop doesn't match computed: actual = 32, computed = 4 | |
[[Node: generator/g_h1/conv2d_transpose = Conv2DBackpropInput[T=DT_FLOAT, padding="SAME", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](generator/g_h1/conv2d_transpose/output_shape, generator/g_h1/w/read, _recv_l_0)]] | |
Traceback (most recent call last): | |
File "main.py", line 75, in <module> | |
main() | |
File "main.py", line 42, in main | |
model.h: h0 | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 315, in run | |
return self._run(None, fetches, feed_dict) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 511, in _run | |
feed_dict_string) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 564, in _do_run | |
target_list) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 586, in _do_call | |
e.code) | |
tensorflow.python.framework.errors.InvalidArgumentError: Conv2DBackpropInput: Number of rows of out_backprop doesn't match computed: actual = 32, computed = 4 | |
[[Node: generator/g_h1/conv2d_transpose = Conv2DBackpropInput[T=DT_FLOAT, padding="SAME", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](generator/g_h1/conv2d_transpose/output_shape, generator/g_h1/w/read, _recv_l_0)]] | |
Caused by op u'generator/g_h1/conv2d_transpose', defined at: | |
File "main.py", line 75, in <module> | |
main() | |
File "main.py", line 21, in main | |
model = LAPGAN(sess, batch_size=batch_size, image_size=image_size) | |
File "/Users/jim/Documents/LAPGAN/model.py", line 25, in __init__ | |
self.h_ = self.generator(self.l) | |
File "/Users/jim/Documents/LAPGAN/model.py", line 88, in generator | |
h1 = tf.nn.conv2d_transpose(l, w, output_shape=output_shape, strides=strides, padding='SAME') | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 103, in conv2d_transpose | |
name=name) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 278, in conv2d_backprop_input | |
use_cudnn_on_gpu=use_cudnn_on_gpu, name=name) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/ops/op_def_library.py", line 655, in apply_op | |
op_def=op_def) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2040, in create_op | |
original_op=self._default_original_op, op_def=op_def) | |
File "/Users/jim/Documents/lapgan/.env/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1087, in __init__ | |
self._traceback = _extract_stack() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment