NokiMo
jourverse
jourverse

patreon


[Project File] Unreal Engine 5.3: Machine Learning Tutorial

This post contains a link to the project file for download.

Learning Agents is a plugin for Unreal Engine (UE) that enables the training of AI characters using machine learning (ML). In this tutorial, we will train a driving AI using the Learning Agents plugin. We will also add a line trace sensors and enable vehicle collision. This tutorial should be accessible for beginners who want to experiment with machine learning.

Youtube Tutorial: https://youtu.be/387ym_2VLUA

-

-

-

UE5.3 Project File: https://drive.google.com/file/d/1pp509ICPi2w_ntxpWln-LJcNZfePANhT/view?usp=sharing

[Project File] Unreal Engine 5.3: Machine Learning Tutorial

Comments

Hi I opened your U5 Machine learniong project with UE 5.3 and it open well, but when I run the agme to train appear me this message son the log: LogLearning: Display: BP_DrivingRLTrainer: Sending / Receiving initial policy... LogLearning: Display: Training Process: Traceback (most recent call last): LogLearning: Display: Training Process: File "C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Experimental\LearningAgents\Content\Python\train_ppo.py", line 301, in LogLearning: Display: Training Process: with open(config_file) as f: LogLearning: Display: Training Process: FileNotFoundError: [Errno 2] No such file or directory: 'C:/Program Files/AllUEProjects/LearningAgent/Intermediate/LearningAgents/Configs/BP_DrivingRLTrainer_PPO_SharedMemory_2025-02-11_16-13-27.json' LogLearning: Warning: Training Process finished with warnings or errors LogLearning: Error: BP_DrivingRLTrainer: Error sending or receiving policy from trainer: Communication timeout. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. LogLearning: Error: BP_DrivingRLTrainer: Training has failed. Check log for errors. and I reset the DA_DrivingNetwork and check in positive the Reinitialize Policy network and compile and thne the error and the cars appear but doesnt move, WHY ???? and I delete the project derivatedcache folder ? and I feel the main error is this LogLearning: Display: Training Process: FileNotFoundError: [Errno 2] No such file or directory: 'C:/Program Files/AllUEProjects/LearningAgent/Intermediate/LearningAgents/Configs/BP_DrivingRLTrainer_PPO_SharedMemory_2025-02-11_16-13-27.json'

Saul Augusto Gasca Farrera

I haven't looked this up in 5.5. In 5.4, some nodes from the previous version have changed. I can only find resources for UE 5.4: https://dev.epicgames.com/community/learning/tutorials/owjW/unreal-engine-learning-to-drive-5-4.

Sengchor Taing

Hi buddy, I was trying to upgrade this project to 5.5, also following along the official documentation but I got stuck when trying to add the vehicle collisions, since I can't get a multi line trace by channel from within the learning agent interactor...have you had the time to look this up inside 5.5?

Raw visual


Related Creators