when running the code to show the resized, cropped, mean-centered input to the network (vgg-16)
plt.imshow( network_input / (network_input.max() - network_input.min()) ),
I got an value error saying "Floating point image RGB values must be in the 0..1 range."
If I resize it as
(network_input - network_input.min()) / (network_input.max() - network_input.min()),
what I get is basically a resized image of the bus with basically the same color, which is expected, but not the same as the result on this notebook, where the major image becomes grey and only the outline of the bus has some color.
Is it cause by the version of matplotlib? I am using 2.1.0 with py3.6
when running the code to show the resized, cropped, mean-centered input to the network (vgg-16)
plt.imshow( network_input / (network_input.max() - network_input.min()) )
,I got an value error saying "Floating point image RGB values must be in the 0..1 range."
If I resize it as
(network_input - network_input.min()) / (network_input.max() - network_input.min())
, what I get is basically a resized image of the bus with basically the same color, which is expected, but not the same as the result on this notebook, where the major image becomes grey and only the outline of the bus has some color.Is it cause by the version of matplotlib? I am using 2.1.0 with py3.6