3
\$\begingroup\$

I am doing some machine learning and I get my environment from Unity in the form of images but the training is taking too long and it keeps me from doing anything else on my system. Is there a way to hide the simulation rendering? Any help will be highly appreciated.

\$\endgroup\$
0

1 Answer 1

2
\$\begingroup\$

Run Unity in batch mode with -batchmode in combination with -executeMethod <ClassName.MethodName> (and likely -quit, which quits the Editor after commands have finished executing).

For example:

"C:\Program Files\Unity\Editor\Unity.exe" -quit -batchmode -executeMethod MachineLearningTrainer.Start

Note executeMethod only works with static methods.

For more information, see Unity's documentation on Command line arguments.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .