Hi folks 👋 Went through the initial setup for ClearML Serving here and
clearml-serving create --name "serving example"
encountered this exception (solved)
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
at both the boolean and int calls
lib/python3.8/site-packages/clearml_serving/serving/preprocess_service.py", line 256, in TritonPreprocessRequest
I changed the calls to use int and bool instead of np.int and np.bool as suggested by the exception and that worked.
Using python 3.8 and maybe it's my mistake for using that version which causes this issue but thought it might be useful to share.