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

[Question] DDPG Parameters #897

Closed
mdev11 opened this issue Jun 19, 2020 · 3 comments
Closed

[Question] DDPG Parameters #897

mdev11 opened this issue Jun 19, 2020 · 3 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@mdev11
Copy link

mdev11 commented Jun 19, 2020

Hi I'm new to RL and currently working on my project using DDPG from stable baselines. And I have some questions about the parameters:

  1. What is the difference between timesteps and nb_train_steps? If I didn't change the nb_train_steps, would it affect my model?
  2. I set the verbose parameter to verbose=1, but the training information only appear every 10k steps, can I change it? like every 1k steps maybe?

Thank you.

@araffin araffin added question Further information is requested duplicate This issue or pull request already exists labels Jun 19, 2020
@araffin
Copy link
Collaborator

araffin commented Jun 19, 2020

What is the difference between timesteps and nb_train_steps?

See #776 (comment)

but the training information only appear every 10k steps, can I change it? like every 1k steps maybe?

you can change log_interval in the learn() method (cf doc)

it also depends on nb_training_steps (see https://github.com/hill-a/stable-baselines/blob/master/stable_baselines/ddpg/ddpg.py#L866)

@mdev11
Copy link
Author

mdev11 commented Jun 19, 2020

Okay thank you so much :)
More question please.. its kind out of topic but, my actor keep getting negative loss, is it normal?

@araffin
Copy link
Collaborator

araffin commented Jun 19, 2020

my actor keep getting negative loss

Please take a look at the resources in our documentation to understand more about the meaning of the losses (notably take a look at spinning up).
Usually actor loss value does not have much sense.

Closing this issue then.

@araffin araffin closed this as completed Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants