File size: 296 Bytes
870f4fc
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import numpy as np

# 请将这里的'your_file_path.npy'替换为你的.npy文件的实际路径
file_path = '/home/ruofei/RRF/hf-mirror/ttvnet/Image/AlexNet/model/0/epoch_5/train_data.npy'

# 读取.npy文件
data = np.load(file_path)

# 输出数组的维度
print("数组维度:", data.shape)