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

unable to see logger file output at output_folder for learn.py #178

Open
abdul-mannan-khan opened this issue Nov 7, 2023 · 3 comments
Open
Labels
question Further information is requested

Comments

@abdul-mannan-khan
Copy link

Hello,
I am currently working on learn.py, and I have been facing an issue with viewing the learning results. Even though I have enabled output results, I am only getting a single picture with multiple graphs, which is not providing the detailed learning information I need.

I would greatly appreciate your guidance on how to access more detailed learning results. Is there a specific setting or configuration I should be aware of to obtain the desired level of detail? Here is what I am doing. Also, no recorded video.

python3 learn.py --guid 'True' --record_video 'True' --output_folder 'results'

Thank you for your assistance.

@JacopoPan
Copy link
Member

Which branch are you working on @abdul-mannan-khan ?

The learn.py script is meant as a toy example of a complete RL training and replay workflow but for longer, more customized (with checkpoints) training runs, it would be better to use
https://github.com/utiasDSL/gym-pybullet-drones/blob/paper/experiments/learning/singleagent.py (for training)
and https://github.com/utiasDSL/gym-pybullet-drones/blob/paper/experiments/learning/test_singleagent.py (for testing)

@JacopoPan JacopoPan added the question Further information is requested label Nov 19, 2023
@abdul-mannan-khan
Copy link
Author

Thank you @JacopoPan for your response. The problem with https://github.com/utiasDSL/gym-pybullet-drones/blob/paper/experiments/learning/singleagent.py is that it is using gym which is causing problems. I tried modifying this code but it became very messey. Can you take a look please? Thank you so much.

@JacopoPan
Copy link
Member

Yes, I am working on a version of learn.py in branch dev-sb3 that does most of the things that singleagent.py was for but using gymnasium instead of the old gym

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

No branches or pull requests

2 participants