If you want to collect speed and trajectories for metadata purposes, we don’t really support that currently and you’ll have to come up with a solution yourself.
Hopefully I understood the question correctly.
If you want to collect speed and trajectories for metadata purposes, we don’t really support that currently and you’ll have to come up with a solution yourself.
Hopefully I understood the question correctly.
I keep getting this error after trying to train my agents while following the learn to drive tutorial.
Hello @Deathcalibur and everyone. I have a problem in “Begin play” section of this course.
The trick I found was to delete the set variable nodes and instead to promote the output pin to a variable, as this will create a variable with the exact right type, instead of a different class.
Set the class to be the interacter in the make interactor node, because the track spline variable only exists in that specific class, not in the general "Learning Agents Interactor. After you do that, drag out from the set first set variable node and then type “Set Track Spline”. Don’t use the one that is already there.
Sorry bro the class wasnt set because i just copied this again (n-time xD) but anyways your method seems to be workin
You’re welcome
Hello again, hadnt got time to check the rest yesterday and now at the very end of the course my learning process simply doesnt work
PIE: Error: Blueprint Runtime Error: “Accessed None trying to read property PPOTrainer”. Node: Run Training Graph: EventGraph Function: Execute Ubergraph BP Car Manager Blueprint: BP_CarManager. Everything compiles but when i start the game cars are standing with 0 km/h. Do you guys have any thoughts?
edit: i’ve added a branch checking if PPOTrainer is valid before Run Training and at that point its not. ( i used ‘get PPOTrainer’ that i promoted previously )
Unfortunately i still have this problem. @Deathcalibur maybe you could guess what is wrong in that case ? (PIE: Error: Blueprint Runtime Error: “Accessed None trying to read property PPOTrainer”.)
Hi everyone,
Thanks for setting up and updating this course. Unfortunately I’m still stuck in setting up the Sportscar Manager.
Thanks!!
There should be an error before the spam that says something failed during Setup of the PPOTrainer. That’s the actual error that would need to be fixed.
@RRRRosW I think you need to start from the return of “Get Actor of Class” and search for “get Track Spline” and then promote that to a variable. Should work.
Thank you so much for your reply.
Although the connection between “Get Actor of Class” and “Set Spline” has been fixed, the UE5 freezes and the following error messages were displayed:
Does it mean the system still can’t extract the data of the TrackSpline correctly?
Thanks again!
Oh actually you were right Mr @Deathcalibur. There were some errors at the very begining, my bad. The last errors from the combined ss are those i noticed before.
Do you know how to fix this problem? I would really appreciate it. Thank you in advance
You need to fix that first error related to finding the python executable. If you open the shared memory communicator settings, you can see the path that’s printed in the log and adjust it. Normally I think it should just work but perhaps you edited this value already? Either way it needs to be adjusted to have less or more “../”. Take a look where python from the editor is relative to the editor’s exe.
The freezing occurs when the experience and model is being synced between the UE process and the python process. Probably expected behavior.
Dear @Deathcalibur,
Thank you again for the plugin and all your hard work. I was hoping you could clarify something regarding the different types of observations (set, static arrays, struct…).
For instance, is using a struct observation containing three float values to represent a location equivalent to using a dedicated location observation? In this case, I’m not referring to the inverse transform, but rather how this distinction might affect the PPO context, as it seems to have an impact on the encoder architecture.
Thank you