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

Getting blank stderr while training with OIGE #133

Closed
Pipe-Runner opened this issue Oct 27, 2023 · 1 comment
Closed

Getting blank stderr while training with OIGE #133

Pipe-Runner opened this issue Oct 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Pipe-Runner
Copy link

Description

I get duplicate progress bars from stderr. This code used to work perfectly fine in the previous version of OIGE. I have upgraded to 2023.1.0 yesterday. I have been getting this behavior since then.

image
The training seems to work correctly though. No error and the policy is trained as expected.

I do get this before the training starts though. Not sure if this is related to the problem.
image

What skrl version are you using?

1.0.0

What ML framework/library version are you using?

PyTorch Version: 2.0.1, OIGE 2023.1.0a0

Additional system information

Linux (Ubuntu 22.04)

@Pipe-Runner Pipe-Runner added the bug Something isn't working label Oct 27, 2023
@Toni-SM
Copy link
Owner

Toni-SM commented Nov 5, 2023

Hi @Pipe-Runner

Thanks for reporting this issue.
I have changed (in the develop branch, to be released soon) the output of the progress messages (generated with tdqm) to sys.stdout (tqdm default sys.stderr) so Isaac Sim will not show duplicated message anymore.

for timestep in tqdm.tqdm(range(self.initial_timestep, self.timesteps), disable=self.disable_progressbar):

for timestep in tqdm.tqdm(range(self.initial_timestep, self.timesteps), disable=self.disable_progressbar, file=sys.stdout):

@Toni-SM Toni-SM closed this as completed Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants