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
Traceback (most recent call last):
File "main.py", line 103, in
tf.app.run()
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 81, in main
data_dir=FLAGS.data_dir)
File "D:\DCGAN-tensorflow-master\model.py", line 83, in init
imreadImg = imread(self.data[0])
File "D:\DCGAN-tensorflow-master\utils.py", line 39, in imread
return scipy.misc.imread(path).astype(np.float)
TypeError: float() argument must be a string or a number, not 'JpegImageFile'
How to solv it
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "main.py", line 103, in
tf.app.run()
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 81, in main
data_dir=FLAGS.data_dir)
File "D:\DCGAN-tensorflow-master\model.py", line 83, in init
imreadImg = imread(self.data[0])
File "D:\DCGAN-tensorflow-master\utils.py", line 39, in imread
return scipy.misc.imread(path).astype(np.float)
TypeError: float() argument must be a string or a number, not 'JpegImageFile'
How to solv it
The text was updated successfully, but these errors were encountered: