How can I turn off rendering and render-related calculations completely for reinforcement learning?

Hello, I’m making a RL environment using unreal engine,
everything else is ready to go,
I have disabled the window showing using “-RenderOffscreen” command line:

./UHMP.exe -ResX=0 -ResY=0 -WINDOWED -TimeDilation=5 -FrameRate=120 -RenderOffscreen

(TimeDilation and FrameRate is my custom cmd kargs)

However, the GPU consumption is still crazy,
indicating rendering is still active despite nothing is shown:

image

What can I do to turn off render-related calculations completely?

1 Like

Hi @Lordontcare :slight_smile:
You could package your project as a dedicated server. It would then run in a console which allows it to run in a container, which can be handy/necessary for machine learning projects.

2 Likes

great idea, trying it out

1 Like

Thank you, worked out like magic!

1 Like