本文共 682 字,大约阅读时间需要 2 分钟。
from tensorflow.python.tools.inspect_checkpoint import print_tensors_in_checkpoint_file
savedir = '/Users/qyk/Desktop/py/models/inception_v3/'print_tensors_in_checkpoint_file(savedir + 'inception_v3.ckpt',tensor_name=None,all_tensors=True)
####
tensor_name: InceptionV3/AuxLogits/Conv2d_1b_1x1/BatchNorm/beta
转载地址:http://esdgo.baihongyu.com/