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

difference between Step and Sample in Dagger #846

Open
lwizard1999 opened this issue Apr 15, 2024 · 0 comments
Open

difference between Step and Sample in Dagger #846

lwizard1999 opened this issue Apr 15, 2024 · 0 comments

Comments

@lwizard1999
Copy link

I am using Dagger, but I do not understand why, when I asked for 10,000 steps with 1 environment, I get 6 trajectories and more than 48,000 samples (4 rounds).

If I ask for 10,000 steps, shouldn't I get 10,000 samples, or perhaps a few more?

Furthermore, with only 3 trajectories, we end up with something like 12,036 samples in one round. Why is the algorithm attempting to generate more samples so?

"
dagger_trainer = SimpleDAggerTrainer(
venv=env,
custom_logger=new_logger,
scratch_dir= r"C:\Users\user\Temp\dagger",
expert_policy=expert,
bc_trainer=bc_trainer,
rng=np.random.default_rng(),

)

dagger_trainer.train(10000)
"

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