When using query.py from serving the following appears.
It looks like tensorflow' has no attribute 'bytes'. What does it mean?
Traceback (most recent call last):
File "C:/Program Files/Python37/Lib/site-packages/tensor2tensor/serving/query.py", line 119, in <module>
tf.app.run()
File "C:\Users\Jakub\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "C:/Program Files/Python37/Lib/site-packages/tensor2tensor/serving/query.py", line 90, in main
outputs = serving_utils.predict([inputs], problem, request_fn)
File "C:\Program Files\Python37\lib\site-packages\tensor2tensor\serving\serving_utils.py", line 159, in predict
for input_ids in input_ids_list]
File "C:\Program Files\Python37\lib\site-packages\tensor2tensor\serving\serving_utils.py", line 159, in <listcomp>
for input_ids in input_ids_list]
File "C:\Program Files\Python37\lib\site-packages\tensor2tensor\serving\serving_utils.py", line 75, in _make_example
if ftype.dtype == tf.bytes:
AttributeError: module 'tensorflow' has no attribute 'bytes'
Description
When using query.py from serving the following appears. It looks like tensorflow' has no attribute 'bytes'. What does it mean?
Traceback (most recent call last):
...
Environment information