File size: 498 Bytes
e051419
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import pandas as pd

# 读取 CSV 文件
df = pd.read_csv("/mnt/bn/yufan-dev-my/ysh/Ckpts/SpatialVID/SpatialVID-HQ/data/train/SpatialVID_HQ_metadata.csv")

# 统计各字段的数量分布
num_frames_count = df['num frames'].value_counts()
fps_count = df['fps'].value_counts()
resolution_count = df['resolution'].value_counts()

# 输出结果
print("num_frames 分布:")
print(num_frames_count)

print("\nfps 分布:")
print(fps_count)

print("\nresolution 分布:")
print(resolution_count)