I\'m using Tensorflow v1.1 and I\'ve been trying to figure out how to use my EMA\'ed weights for inference, but no matter what I do I keep getting the error
The key not found in checkpoint
error means that the variable exists in your model in memory but not in the serialized checkpoint file on disk.
You should use the inspect_checkpoint tool to understand what tensors are being saved in your checkpoint, and why some exponential moving averages are not being saved here.
It's not clear from your repro example which line is supposed to trigger the error