You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I copy-paste the example from the Examples section of the Readme, the line output = reloaded_model([s1, s2, s3]) causes the following error:
In [16]: output = reloaded_model([s1, s2, s3])
...:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-16-977dbd3103dd> in <cell line: 1>()
----> 1 output = reloaded_model([s1, s2, s3])
~/.cache/pypoetry/virtualenvs/tftokenizers-F6-m1WpK-py3.8/lib/python3.8/site-packages/tensorflow/python/saved_model/load.py in _call_attribute(instance, *args, **kwargs)
699
700 def _call_attribute(instance, *args, **kwargs):
--> 701 return instance.__call__(*args, **kwargs)
702
703
~/.cache/pypoetry/virtualenvs/tftokenizers-F6-m1WpK-py3.8/lib/python3.8/site-packages/tensorflow/python/util/traceback_utils.py in error_handler(*args, **kwargs)
151 except Exception as e:
152 filtered_tb = _process_traceback_frames(e.__traceback__)
--> 153 raise e.with_traceback(filtered_tb) from None
154 finally:
155 del filtered_tb
~/.cache/pypoetry/virtualenvs/tftokenizers-F6-m1WpK-py3.8/lib/python3.8/site-packages/tensorflow/python/saved_model/function_deserialization.py in restored_function_body(*args, **kwargs)
261 """Calls a restored function or raises an error if no matching function."""
262 if not saved_function.concrete_functions:
--> 263 raise ValueError("Found zero restored functions for caller function.")
264 # This is the format of function.graph.structured_input_signature. At this
265 # point, the args and kwargs have already been canonicalized.
ValueError: Found zero restored functions for caller function.
Have you guys ever encountered that before?
The text was updated successfully, but these errors were encountered:
Hi,
first of all, thanks for sharing this code!
When I copy-paste the example from the Examples section of the Readme, the line
output = reloaded_model([s1, s2, s3])
causes the following error:Have you guys ever encountered that before?
The text was updated successfully, but these errors were encountered: