Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to connect to Unity when training policy #192

Open
santurini opened this issue Jul 19, 2023 · 0 comments
Open

Not able to connect to Unity when training policy #192

santurini opened this issue Jul 19, 2023 · 0 comments

Comments

@santurini
Copy link

I was trying to train a policy from scratch like this and the model starts actually training but Unity stays on the main page:

python run_drone_control.py --train 1 --render 1

Even if in the output I have this message:

[UnityBridge]  Initializing ZMQ connection!
[UnityBridge]  Initializing ZMQ connections done!
[VecEnv]       Flightmare Bridge is created.

And when I run the test with the saved weights it all works fine:

python run_drone_control.py --train 0 --render 1 --weight /path/to/weight

So my question is, does the Unity rendering work only for testing or it can be used also to monitor the training?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant