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
018-11-19,15:25:47.485 ERROR {_server} [_call_behavior] Exception calling application: 'memoryview' object has no attribute '__buffer__'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/grpc/_server.py", line 389, in _call_behavior
return behavior(argument, context), True
File "/microservice/model_microservice.py", line 122, in Predict
features = grpc_datadef_to_array(datadef)
File "/microservice/microservice.py", line 124, in grpc_datadef_to_array
features = np.frombuffer(memoryview(c[-(sz*8):]), dtype=np.float64, count=sz, offset=0)
AttributeError: 'memoryview' object has no attribute '__buffer__'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: