-
Notifications
You must be signed in to change notification settings - Fork 132
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 sure if my training is working. No window opens. #7
Comments
Hi, thanks for raising this issue. This library is not properly tested on Windows, I’ll try to reproduce this issue ASAP. Thanks! |
I tried to find out where exactly the script was getting stuck, and found that this was the traceback obtained with a Keyboard Interrupt, no matter how much time elapsed:
Kindly let me know what I can do in this case |
It seems pickling issue in multiprocessing on windows. Unfortunately this library isn't supporting Windows at the moment. I will release a docker image in the near future, but for now I'd recommend to run it on Linux or Mac machines. Sorry for the inconvenience. |
Hello guys I've suffered from the same issue here. I tested this library on Linux and it just work perfectly, however for some reason I need to get the library working on Windows OS. As for windows support I found the policy player working quite nicely (since it's not using multiprocessing) and as for the trainer it will work if we set env_processes parameter on _train function inside rex_gym/playground/trainer.py to False since this will avoid the use of multiprocessing.
@nicrusso7 may I ask what is the downside of not using the wrappers.ExternalProcess on this library? And will multiple agents still can be used without the wrappers? |
Hi @iftikarmuhammad, the As a temporarily workaround, I could actually force this mode when running on Windows. Thanks for pointing this out. |
I've just pushed a hotfix for this, it should force single process now on Windows (please install from source for now). |
I was trying to run the command
rex-gym train --playground True --env walk --log-dir "trainLogs"
but I only get the following screen:What am I doing wrong? I am using Windows, and I installed the packages from source.
The text was updated successfully, but these errors were encountered: