Train AI in Godot (Tutorial)

Published: 25 July 2023
on channel: cshift
8,649
276

Train reinforcement learning agents in Godot with Godot RL Agents.
0:00 Intro
0:18 How it works
0:35 Warning
0:56 Setup: Python side
1:34 Setup: Godot Side
3:43 Installing & Using the Godot addon
5:47 Testing the AI
7:00 Speeding up the training process
7:45 Exporting the AI model
9:34 Exporting the game (not directly shown)

There probably are a lot of errors in the video, so please tell me if anything is wrong.

Godot RL Agents
https://github.com/edbeeching/godot_r...

Godot Addon
https://github.com/edbeeching/godot_r...

Example Python script used for training
https://github.com/edbeeching/godot_r...

ONNX Runtime
https://www.nuget.org/packages/Micros...

Docs
https://github.com/edbeeching/godot_r...

Examples
https://github.com/edbeeching/godot_r...

Godot RL Agents Discord
  / discord  

Exporting for macOS
The first issue is possibly related to this.
https://github.com/microsoft/onnxrunt...
Workaround:
Place libonnxruntime.dylib in the appname.app/Contents/Resources/data_appname_arm64
The second issue is that it can't detect the onnx file. The issue is unclear.
Workaround:
Enter the absolute path of the onnx file to the sync node.


Watch video Train AI in Godot (Tutorial) online without registration, duration hours minute second in high quality. This video was added by user cshift 25 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,64 once and liked it 27 people.