dpressel / rude-carnie

Age detection in Tensorflow
937 stars 341 forks source link

some error #21

Closed zhuchangjiang closed 7 years ago

zhuchangjiang commented 7 years ago

when i execute python guess.py --model_dir /home/zhucj/rude-carnie/22801 --filename /home/zhucj/tf/abc/aligned/100003415@N08/landmark_aligned_face.2177.9527097954_74e91bbf71_o.jpg

some mistakes happend,why

NotFoundError (see above for traceback): Key LeviHassner/conv1/biases not found in checkpoint [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

zhuchangjiang commented 7 years ago

2017-05-18 22:26:46.931548: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/conv2/biases not found in checkpoint 2017-05-18 22:26:46.931548: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/conv1/biases not found in checkpoint 2017-05-18 22:26:46.931560: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/conv1/weights not found in checkpoint 2017-05-18 22:26:46.933749: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/conv3/biases not found in checkpoint 2017-05-18 22:26:46.934421: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/conv3/weights not found in checkpoint 2017-05-18 22:26:46.934498: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/conv2/weights not found in checkpoint 2017-05-18 22:26:46.934784: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/full1/biases not found in checkpoint 2017-05-18 22:26:46.934993: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/full1/weights not found in checkpoint 2017-05-18 22:26:46.935461: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/full2/biases not found in checkpoint 2017-05-18 22:26:46.935623: W tensorflow/core/framework/op_kernel.cc:1152] Not found: Key LeviHassner/full2/weights not found in checkpoint

dpressel commented 7 years ago

Duplicate of #16 and #13. Please see those, as well as the README for details on how to run an inception-based checkpoint.