regarding loading the npy file and investigating the contents inside it
<p>I have been trying to output the contents of npy file, when <code>print(np.load('/home/ugwz/fcn/vgg16.npy', encoding='latin1'))</code>, part of the output looks like as follows, which is sort of hard to read. </p>

<p><a href="https://i.stack.imgur.com/F7i1v.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F7i1v.jpg" alt="enter image description here"></a></p>

<p>Then I try to output the metadata of this array</p>

<pre><code>print(np.load('/home/vgg16.npy', encoding='latin1').size)
print(np.load('/home/vgg16.npy', encoding='latin1').shape)
print(np.load('/home/vgg16.npy', encoding='latin1').ndim)
</code></pre>

<p>the output is as follows:</p>

<pre><code>1
()
0
</code></pre>

<p>What's the best way to read and understand the <code>npy</code> file?</p>

<p>The additional information is as follows:</p>

<pre><code>print(np.load('/home/vgg16.npy',encoding='latin1').dtype)

object

print(np.load('/home/vgg16.npy',encoding='latin1').item().type)

AttributeError: 'dict' object has no attribute 'type'


print(np.load('/home/vgg16.npy',encoding='latin1').item().shape)

AttributeError: 'dict' object has no attribute 'shape'
</code></pre>