Closed kbamponsem closed 2 years ago
Thanks for your recent changes! I will do some tests on my side. Let's get this merged asap :)
Thanks for your recent changes! I will do some tests on my side. Let's get this merged asap :)
Alright. Noted!
current status: ✅
Overall Coverage
Lines Covered Coverage Threshold Status 392 347 89% 0% 🟢 New Files
No new covered files...
Modified Files
File Coverage Status client/blindai/client.py 91% 🟢 TOTAL 91% 🟢 updated for commit:
225aab6
by action🐍
Description
Implementation of multiple model inputs. This request contains updates on both the server and client.
We add a new message to the protobuf file
This represents an object capturing both the
input_fact
anddatum_type
of an input.Also, a new method is added to
model.rs
fileThis method deserializes and serializes the
Vec<Vec<A>>
passed from the client.For
load_model
, since we can have multiple inputs, we accumulate the different inputs, theirindexes
anddatum_type
information before storing the model inInferenceModel
For the client, the interface changes to accommodate the multiple inputs
Now data_inputs can either but a List or List[List], depending on whether the model is a multiple input model.
client.run_model(data_inputs, sign=True)