You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I do the command which is "python main.py --dataset mnist --is_train True --is_crop True",there are some errors.
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv))
File "main.py", line 36, in main
dataset_name=FLAGS.dataset, is_crop=FLAGS.is_crop, checkpoint_dir=FLAGS.checkpoint_dir)
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/model.py", line 58, in init
self.build_model()
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/model.py", line 75, in build_model
self.G = self.generator(self.inputs)
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/model.py", line 167, in generator
h2 = PS(h2, 4, color=True)
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/subpixel.py", line 21, in PS
X = tf.concat(3, [_phase_shift(x, r) for x in Xc])
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/subpixel.py", line 12, in _phase_shift
X = tf.concat(2, [tf.squeeze(x, axis=1) for x in X]) # bsize, b, a*r, r
TypeError: squeeze() got an unexpected keyword argument 'axis'
I'll let you know if make progress as well--thanks for the help!
The text was updated successfully, but these errors were encountered:
when I do the command which is "python main.py --dataset mnist --is_train True --is_crop True",there are some errors.
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv))
File "main.py", line 36, in main
dataset_name=FLAGS.dataset, is_crop=FLAGS.is_crop, checkpoint_dir=FLAGS.checkpoint_dir)
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/model.py", line 58, in init
self.build_model()
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/model.py", line 75, in build_model
self.G = self.generator(self.inputs)
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/model.py", line 167, in generator
h2 = PS(h2, 4, color=True)
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/subpixel.py", line 21, in PS
X = tf.concat(3, [_phase_shift(x, r) for x in Xc])
File "/home/qyq/q2015work/Image_Reconstruction/subpixel-master/subpixel.py", line 12, in _phase_shift
X = tf.concat(2, [tf.squeeze(x, axis=1) for x in X]) # bsize, b, a*r, r
TypeError: squeeze() got an unexpected keyword argument 'axis'
I'll let you know if make progress as well--thanks for the help!
The text was updated successfully, but these errors were encountered: