Skip to content

Checkpoint not found while loading pretrained models #4

@jiteshm17

Description

@jiteshm17

Hi, I keep getting these error messages while trying to perform testing/inference

2021-07-02 11:49:37.808479: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key Stage3/Unit6/Conv/BatchNorm/beta not found in checkpoint
2021-07-02 11:49:37.808670: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key Stage3/Unit6/3x3DXConvR/depth_conv_w not found in checkpoint
2021-07-02 11:49:37.808935: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key Stage3/Unit6/Conv/BatchNorm/gamma not found in checkpoint
2021-07-02 11:49:37.809148: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key Stage3/Unit6/Conv/BatchNorm/moving_mean not found in checkpoint
2021-07-02 11:49:37.809387: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key Stage3/Unit6/Conv/BatchNorm/moving_variance not found in checkpoint

I use the following command

python inference.py --pretrained_model output/ckpt_best/mobilefacenet_best_ckpt --model_type 0 --eval_datasets lfw --eval_db_path lfw_align_112

I tried on both tensorflow versions 1.15.0, 1.5.0 and 1.2.0 and I get the similar error messages.
Is there anything else I need to change?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions