-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Unity couldn't connect to trainer on port 5004 on macOS 10.13 #5759
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
Comments
I found the reason that libgrpc_csharp_ext.dylib can't be load, it reference to a non-exist lib.
So, where can I found this lib "/Users/christophergoy/code/ml-agents-grpc/cmake/build/libgrpc_csharp_ext.dylib", or how can I build it for use? |
Do you happen to have an M1? If so you may be able to install libgrpc_csharp_ext.dylib manually with this: If not we'll have to look at different solutions |
hi @AKemendo , I am using x86_64 arch apple. I'd like to build that lib from source, but I don't where the source code based on and which version it depend on. |
I'v manage to built the libgrpc_csharp_ext.dylib for x86_64 arch and rename it to
it works now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
I want to train hummingbird using ml-agents, I have launched trainer.
2022-06-25 01:33:49 INFO [environment.py:222] Listening on port 5004. Start training by pressing the Play button in the Unity Editor.
but Unity pop up a message on status bar, said "Couldn't connect to trainer on port 5004 using API version 1.5.0. ". I can telnet into localhost 5004, so the server is ready.
To Reproduce
Steps to reproduce the behavior:
mlagents-learn config/trainer_config.yaml --run-id hb_01
Console logs / stack traces
In Unity Console, the detail messages is:
I have check the libgrpc_csharp_ext.x64.bundle, it's a fat binary format with arm64. Can I build it for my current macOS version?
or how to debug it to find the failure reason? thanks for any hint.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: