python查看pkl文件

# show_pkl.py

import pickle

path = 'E:/somecode/Faster-RCNN-TensorFlow\default/voc_2007_trainval/default/vgg16_faster_rcnn_iter_10000.pkl'

# path='/root/……/aus_openface.pkl' pkl文件所在路径

f = open(path, 'rb')

data = pickle.load(f)

print(data)

print(len(data))

你可能感兴趣的:(python,python,tensorflow,深度学习)