question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I 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:closed
  • Created 5 years ago
  • Comments:22 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
mdbenitocommented, Oct 5, 2018

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 of tf.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! 😉

0reactions
MaybeShewill-CVcommented, Mar 20, 2019

@LJXLJXLJX No free lunch in the world:)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found