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 followed the command: python sample.py --image='png/example.png', it returns an error:
<start> guest building storing guest next gazelle 6 drawing guest applied pate <end>
Traceback (most recent call last):
File "sample.py", line 96, in <module>
main(args)
File "sample.py", line 75, in main
plt.imshow(np.asarray(image))
File "/home/marsha/anaconda2/lib/python2.7/site-packages/matplotlib/pyplot.py", line 3029, in imshow
**kwargs)
File "/home/marsha/anaconda2/lib/python2.7/site-packages/matplotlib/__init__.py", line 1819, in inner
return func(ax, *args, **kwargs)
File "/home/marsha/anaconda2/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 4922, in imshow
im.set_data(X)
File "/home/marsha/anaconda2/lib/python2.7/site-packages/matplotlib/image.py", line 449, in set_data
raise TypeError("Image data can not convert to float")
TypeError: Image data can not convert to float
The text was updated successfully, but these errors were encountered:
When I followed the command: python sample.py --image='png/example.png', it returns an error:
The text was updated successfully, but these errors were encountered: