-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
My Custom env training go for ever #1032
Comments
Hello @araffin |
Hello, See #982 (comment) for a definition of what is "minimal" ;) |
and this is the training code
|
Please read carefully the link i provided (provided code is not functional) and please use markdown codeblock to format your code (also shown in the link and the issue template). |
my guess is that train freq is set to |
@araffin you are right when train_freq set to 1, it ran normally and didn't get stuck. Thanks |
Hello everyone,
I have created my own custom environment following the example in the docs and ran the env checker and it went well except for a warning about box bound precision. Now I have been trying to run the model training using the td3 algorithm but the training runs forever although I put timesteps=1 just to check there is nothing wrong with my env or the training. You can find my gym env here
https://github.com/Abdelrahman-Alkhodary/Custom-gym-env
and this the system info
sb3.get_system_info()
OS: Linux-5.15.0-46-generic-x86_64-with-debian-bullseye-sid #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022
Python: 3.7.9
Stable-Baselines3: 1.6.0
PyTorch: 1.11.0+cu102
GPU Enabled: True
Numpy: 1.19.2
Gym: 0.21.0
({'OS': 'Linux-5.15.0-46-generic-x86_64-with-debian-bullseye-sid #49
20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022', 'Python': '3.7.9', 'Stable-Baselines3': '1.6.0', 'PyTorch': '1.11.0+cu102', 'GPU Enabled': 'True', 'Numpy': '1.19.2', 'Gym': '0.21.0'}, 'OS: Linux-5.15.0-46-generic-x86_64-with-debian-bullseye-sid #4920.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022\nPython: 3.7.9\nStable-Baselines3: 1.6.0\nPyTorch: 1.11.0+cu102\nGPU Enabled: True\nNumpy: 1.19.2\nGym: 0.21.0\n')The text was updated successfully, but these errors were encountered: