NotFoundError
See original GitHub issueI try to run the demo for one image, but a notfounderror ocurr . What should I do?
NotFoundError (see above for traceback): 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:
Key shadow/batch_normalization/beta not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
[[Node: save/RestoreV2/_3 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_7_save/RestoreV2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (17 by maintainers)
Top Results From Across the Web
NotFoundError when restore tensorflow model - Stack Overflow
I am trying to save model and restore in other file using tensorflow. I use this code for train and save model. import...
Read more >tensorflow.python.framework.errors_impl.NotFoundError: /usr ...
Hello! Could you please help me with this issue? I am using tensorflow image from docker hub tensorflow==2.3.0 My Dockerfile looks like this:...
Read more >NotFoundError | oso
Inherited from AuthorizationError.stackTraceLimit. Defined in node_modules/@types/node/globals.d.ts:13. Methods. Static captureStackTrace.
Read more >NotFoundError class - rpc.api library - Pub.dev
API docs for the NotFoundError class from the rpc.api library, for the Dart programming language. ... NotFoundError([String message = "Not found."]) ...
Read more >NotFoundError: No registered 'Reso… - Apple Developer
Hi, I 'm using a 2016 Intel based MBP with an AMD Radeon Pro 460 running OS X Monterey 12.1. When I ran...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this is due to the recent upgrade to TF 1.10. The batch normalization layers are now using
tf.layers.batch_normalization
, instead oftf.contrib.layers.batch_norm
. This means that the checkpoint in the repo is no longer valid for the current code! I hadn’t thought of this as I submitted the PR. Maybe we should undo that change (and any having the same consequence)?(And… that’s why one always wants to have regression tests! 😉
@LJXLJXLJX No free lunch in the world:)