Is it possible to run multiple ml models?
I'm trying to build a lens that uses a NN to extract features (let's say inception), which are then fed into another NN, after some modifications. (The important part here is modifications, which is why this cannot be a single deep NN.)
Is that possible via scripting? If so, is there any kinda documentation that exists on that?
hi Ahsan Khoja
what is NN ? any way
answering on the title question
i think it's possible to upload multi onnx models as long as you respect the lens size
Cheers
NN = Neural Network?
Hi, @...!
Please refer to this guides https://lensstudio.snapchat.com/guides/machine-learning/ml-component/ml-component-overview/ about MLComponent
And about scripting https://lensstudio.snapchat.com/guides/machine-learning/ml-component/scripting-ml-component/
The pages above provide detailed information about various ways to run your model (start timing, end timing, render order) and how to access and modify input and output data of the mlComponent
It can allow you to run two models and fed output of the first one into another during the same frame
Best
Olha