Skip to content

Chapter 7- issue in loading pre trained model #20

@xinformatics

Description

@xinformatics

While following the textbook and the steps on Github on the cell counting task, when I run

model.restore()

it throws the following error:

INFO:tensorflow:Restoring parameters from model/model-7700
and
NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

2 root error(s) found.
(0) Not found: Key Conv2D_3/conv2d_4/bias not found in checkpoint
[[node save_3/RestoreV2 (defined at /tensorflow-1.15.2/python3.6/tensorflow_core/python/framework/ops.py:1748) ]]
(1) Not found: Key Conv2D_3/conv2d_4/bias not found in checkpoint
[[node save_3/RestoreV2 (defined at /tensorflow-1.15.2/python3.6/tensorflow_core/python/framework/ops.py:1748) ]]
[[save_3/RestoreV2/_101]]
0 successful operations.
0 derived errors ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions