simple_tensorflow_serving
simple_tensorflow_serving copied to clipboard
TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last):
File "c:\users\anand\appdata\local\continuum\anaconda3\envs\venv\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\anand\appdata\local\continuum\anaconda3\envs\venv\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\anand\AppData\Local\Continuum\anaconda3\envs\venv\Scripts\simple_tensorflow_serving.exe_main.py", line 5, in
@ashutosh199 我也遇到了这个问题,请问解决了吗?
It seems that you have serialize the preprocess_function as byte object but not UTF string. Please paste more log or your testing script so that we can re-produce your problem.