Hi there,
I am facing an issue here, I have a zip file containing a ML model, and I can upload it whithout any problems, but when I try to create an MLSkill a series os warnings show up before an error mensage and the deployment fails, can anyone help?
The Error mensage: Failed to create deployment AIFabric_ML_Demo_OM
The warnings mensage:
File “/microservice/main.py”, line 19, in
testeiro = Main()
File “/microservice/main.py”, line 10, in init
self.model = joblib.load(’./model/ClassProbl.joblib’)
File “/usr/local/lib/python3.8/site-packages/joblib/numpy_pickle.py”, line 585, in load
obj = _unpickle(fobj, filename, mmap_mode)
File “/usr/local/lib/python3.8/site-packages/joblib/numpy_pickle.py”, line 504, in _unpickle
obj = unpickler.load()
File “/usr/local/lib/python3.8/pickle.py”, line 1210, in load
dispatchkey[0]
File “/usr/local/lib/python3.8/pickle.py”, line 1587, in load_reduce
stack[-1] = func(*args)
File “sklearn/tree/_tree.pyx”, line 607, in sklearn.tree._tree.Tree.cinit
ValueError: Buffer dtype mismatch, expected ‘SIZE_t’ but got ‘int’
File “/microservice/main.py”, line 19, in
testeiro = Main()
File “/microservice/main.py”, line 10, in init
self.model = joblib.load(’./model/ClassProbl.joblib’)
File “/usr/local/lib/python3.8/site-packages/joblib/numpy_pickle.py”, line 585, in load
obj = _unpickle(fobj, filename, mmap_mode)
File “/usr/local/lib/python3.8/site-packages/joblib/numpy_pickle.py”, line 504, in _unpickle
obj = unpickler.load()
File “/usr/local/lib/python3.8/pickle.py”, line 1210, in load
dispatchkey[0]
File “/usr/local/lib/python3.8/pickle.py”, line 1587, in load_reduce
stack[-1] = func(*args)
File “sklearn/tree/_tree.pyx”, line 607, in sklearn.tree._tree.Tree.cinit
ValueError: Buffer dtype mismatch, expected ‘SIZE_t’ but got ‘int’
1 post - 1 participant