You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@edbeeching I've been trying to implement the ONNX model to directly handle the agents, but it's a bit obscure.
I was actually able to relate the outputs from the model to the outputs from the checkpoint and training.
Godot recieves: setting action 9 content: {jump:0, move:[-0.582598], turn:[-0.251385]}
ONNX outputs: {output:[3.487688, -3.483186, -0.582597, -2.297049, -0.251385, -2.50098], state_outs:[0]}
The index 2 relates to move and index 4 relates to turn, but I can't wrap my head around the other values, question here is, what are the other values supposed to mean? Which one represents jump?
I'm not sure if the output is complete, but the results are deterministic and coherent so far, so maybe there's something I'm missing? Any advice would be appreciated
The text was updated successfully, but these errors were encountered:
Now that in 0.5 version, it is possible to export ONNX, that means one could consume the ONNX using ML.NET in Godot
@edbeeching
Will you be interested to encourage users to have examples in Godot using C# and use ML.NET or ONNX Runtime to consume these exported ONNX from python?
I created a fork: https://github.com/hakuhan/godot_rl_agents_plugin which using gdextension to load onnx model (By loading ONNXRuntime libs). I compiled/tested/pushed linux version of gdextension.
From edbeeching/godot_rl_agents#23
The text was updated successfully, but these errors were encountered: