Closed kitinan5410612484 closed 5 years ago
I've try using inspect_checkpoint.py tool to see all weight in my checkpoint: my checkpoint file contain: model.ckpt-10.data-00000-of-00001 model.ckpt-10.index model.ckpt-10.meta my command was: python inspect_checkpoint.py --file_name=model.ckpt-10 --all_tensors=True --tensor_name='' But the weight missing it showed with "..." For example: tensor_name: dnn/hiddenlayer_4/weights [[ 0.11010675 -0.00205228 0.06564941 ... 0.04844228 -0.06266475 0.07596292] [ 0.06760433 0.12344839 0.12087007 ... -0.04885229 -0.15109406 0.03623438] [-0.11817194 0.0303787 0.06215482 ... 0.02974839 0.09252764 0.25440046] ... [-0.03469304 -0.19408804 0.1232834 ... -0.101989 -0.11033994 0.00296944] [-0.01577727 0.13655508 -0.07761313 ... -0.08856598 -0.13241452 -0.00495515] [ 0.00119148 0.03261929 -0.096873 ... -0.04134168 0.02477826 0.10813464]]
the shape of the tensor_name is: dnn/hiddenlayer_4/weights (DT_FLOAT) [128,128] How can i really print all the weight ? Thank you.
I've try using inspect_checkpoint.py tool to see all weight in my checkpoint: my checkpoint file contain: model.ckpt-10.data-00000-of-00001 model.ckpt-10.index model.ckpt-10.meta my command was: python inspect_checkpoint.py --file_name=model.ckpt-10 --all_tensors=True --tensor_name='' But the weight missing it showed with "..." For example: tensor_name: dnn/hiddenlayer_4/weights [[ 0.11010675 -0.00205228 0.06564941 ... 0.04844228 -0.06266475 0.07596292] [ 0.06760433 0.12344839 0.12087007 ... -0.04885229 -0.15109406 0.03623438] [-0.11817194 0.0303787 0.06215482 ... 0.02974839 0.09252764 0.25440046] ... [-0.03469304 -0.19408804 0.1232834 ... -0.101989 -0.11033994 0.00296944] [-0.01577727 0.13655508 -0.07761313 ... -0.08856598 -0.13241452 -0.00495515] [ 0.00119148 0.03261929 -0.096873 ... -0.04134168 0.02477826 0.10813464]]
the shape of the tensor_name is: dnn/hiddenlayer_4/weights (DT_FLOAT) [128,128] How can i really print all the weight ? Thank you.