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

Clarification needed on calculating the number of training iterations for pretrain ac in trainer.py #6

Open
yixiaoshenghua opened this issue Oct 3, 2023 · 0 comments

Comments

@yixiaoshenghua
Copy link

Hello,

I have a question regarding the code in the trainer.py file, specifically lines 251-252 in the # pretrain ac section:

budget = config['pretrain_budget'] * (1 - config['pretrain_obs_p'] + config['pretrain_dyn_p'])

I would like to clarify whether the intention of this line is to calculate the training iterations for pretraining the action-conditioned (ac) model as a proportion subtracted from 1. In other words, is the calculation meant to determine the training budget as a percentage of the total pretrain budget?

Like this:

budget = config['pretrain_budget'] * (1 - config['pretrain_obs_p'] - config['pretrain_dyn_p'])

Thank you for your attention and clarification.

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

No branches or pull requests

1 participant