openai/glow

Loading of the model issue

EAdnds opened this issue · 0 comments

Hi, I have a problem with the 'Loading of the model' part.

Here is the error I get when I load this part :


in ()
96 # Encoder
97 print("inputs['enc_x']",inputs['enc_x'])
---> 98 enc_x = get(inputs['enc_x'])
99 enc_eps = [get(outputs['enc_eps_' + str(i)]) for i in range(n_eps)]
100 if not optimized:

3 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py in _as_graph_element_locked(self, obj, allow_tensor, allow_operation)
4014 raise KeyError("The name %s refers to a Tensor which does not "
4015 "exist. The operation, %s, does not exist in the "
-> 4016 "graph." % (repr(name), repr(op_name)))
4017 try:
4018 return op.outputs[out_n]

KeyError: "The name 'import/input/image:0' refers to a Tensor which does not exist. The operation, 'import/input/image', does not exist in the graph.


Do you have an idea to solve this problem ??

Thanks
Capture d’écran 2022-04-11 à 16 57 01