HMCLIP / check.py
SteveZeyuZhang's picture
Start resumable backup upload: root source files
1cc4fea
Raw History Blame Contribute Delete
257 Bytes
import numpy as np
# 加载文件
data = np.load('dataset/train_ratescore.npy')
# 查看维度(例如返回 (100, 224, 224, 3))
print(f"数据的形状: {data.shape}")
# 查看维度的数量(例如返回 4)
print(f"维度的数量: {data.ndim}")