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)