Facenet: model_checkpoint_path is None

Created on 26 Jan 2017  路  2Comments  路  Source: davidsandberg/facenet

Hi,

In facenet.py, line 381,

ckpt_file = tf.train.get_checkpoint_state(model_dir).model_checkpoint_path

AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path'

Most helpful comment

Thanks @lodemo!
I will probably remove the use of get_checkpoint_state in the future since it requires this annoying little file.

All 2 comments

See #40

the get_checkpoint_state(mode_dir) function needs a checkpoint file, by default 'checkpoint' in the model directory, with the in #40 described content.

Thanks @lodemo!
I will probably remove the use of get_checkpoint_state in the future since it requires this annoying little file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xvdehao picture xvdehao  路  4Comments

allahbaksh picture allahbaksh  路  3Comments

kuaikuaikim picture kuaikuaikim  路  3Comments

mayank26saxena picture mayank26saxena  路  4Comments

ouyangbei picture ouyangbei  路  4Comments