# cPickle是python2系列用的,3系列已经不用了,直接用pickle就好了 import pickle # 重点是rb和r的区别,rb是打开2进制文件,文本文件用r # f = open('/mnt/data10t/dazuoye/GROUP2024-GEN6/FakeSV/code/VGG19/outputs/video_features.pkl','rb') f = open('/mnt/data10t/dazuoye/GROUP2024-GEN6/FakeSV/dataset/ptvgg19_frames/6571001202379590925.pkl','rb') data = pickle.load(f) print(data) print(len(data)) print(data.shape)