Traceback (most recent call last):


 "main.py", line 46, in <module>

tf.app.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 43, in run

sys.exit(main(sys.argv[:1] + flags_passthrough))


 "main.py", line 43, in main

srcnn.train(FLAGS)


 "/home/kedaxtb/guoxiujiang/SRCNN-Tensorflow-master/model.py", line 112, in train

imsave(merge, os.path.join(os.getcwd(), config.sample_dir))


 "/home/kedaxtb/guoxiujiang/SRCNN-Tensorflow-master/utils.py", line 191, in imsave

return scipy.misc.imsave(path, image)


 "/usr/local/lib/python2.7/dist-packages/scipy/misc/pilutil.py", line 195, in imsave

im = toimage(arr, channel_axis=2)


 "/usr/local/lib/python2.7/dist-packages/scipy/misc/pilutil.py", line 287, in toimage

raise ValueError("'arr' does not have a suitable array shape for "
ValueError: 'arr' does not have a suitable array shape for any mode.
Traceback (most recent call last):


 "r.py", line 7, in <module>

aladin = niftyreg.RegAladin()


 "C:\Users\fernando\Miniconda3\envs\vesseg\lib\site-packages\nipype\interfaces\niftyreg\base.py", line 66, in __init__

StrictVersion(_version) < StrictVersion(self._min_version):


 "C:\Users\fernando\Miniconda3\envs\vesseg\lib\distutils\version.py", line 40, in __init__

self.parse(vstring)


 "C:\Users\fernando\Miniconda3\envs\vesseg\lib\distutils\version.py", line 137, in parse

raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '1.5.58
