- Home /
Question by
phanbionicle · Apr 23, 2020 at 09:40 AM ·
datapythonprocess
How to use a pre-trained h5 MachineLearning model for a Rock Paper Scissors in Unity3D?
Hello,
My team and I are making this VR Rock Paper Scissors game on unity 3D, and we are planning to apply a bit of ML for the sequence prediction so that the AI can predict our next move. The problem is, I don't know how to extract the data while in-game (meaning an array of past moves; I'm using a pre-trained LSTM model) to the python script. A bit of research tells me that ironpython causes a bit of lag and/or isn't reliable for real time execution (hope I'm wrong about this).
TLDR : I have a pretrained h5 model. I want to extract in game data in real time to use the h5 model to predict the next move, THEN extract the output of the prediction to use in-game.
I appreciate your help :)
Comment