Mapping ONNX Model

0
Hello everyone, I am encountering an issue while mapping an ONNX model that tests the similarity between two inputs. The inputs are tokenized texts and should be arrays of float numbers with a size of (1x70). However, Mendix considers them as strings. Could you please advise on how to resolve this problem? Thank you.
asked
1 answers
0

Hi Jihad Chakir,

Use a Java Action Which Can Change these Input into Array of float numbers, then Change this back into String Which Will be a input object for Ml model, return this object. Pass this Object to Ml Model You will get the desired Output. Be Cautious while changing in to string, test it out with Different Outputs and find the ideal solution.

 

Thankyou.

answered