[UE5] Unreal Engine Support for Machine Learning

Thanks, @Deathcalibur for the quick response! Yeah I got it that online training with a separate Python process is possible, but I’m really looking forward to the integration of in-game model training.

I saw there are already people trying to use libtorch (PyTorch C++ version) with UE, e.g., this post and this post, but without success. Can you estimate the amount of work for getting this working?

Although it may sound expensive to train neural models while rendering the graphics, let’s think about it this way: what will happen if we create an AI companion with very simple neural networks, but allow them to be trained whenever we play the game?

Another solution is to implement gradient descent manually, which is what looks most applicable to me. However, as a beginner in game dev and still a lot to learn in this new field, it would be too much work for me if I have to think about implementing in-game model training.