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

get puzzled in bag #14

Open
915288938lx opened this issue Mar 6, 2025 · 0 comments
Open

get puzzled in bag #14

915288938lx opened this issue Mar 6, 2025 · 0 comments

Comments

@915288938lx
Copy link

agetnts/dtqn.py
in observe() function, we tiled self.context.obs, self.context.action, self.bag.obss and self.bag.actions, and pass them into the self.policy_network, then get the possible_bag_actions, possible_bag_obss, finally update the obss of the bag with the optimal obss, but we only used the updated bag in get_action() function , why ?

in replay_buffer.py
in sample_with_bag() function, we just randomly sampled the previous record before current step , why these randomly sampled data can be used to train "persistent memory" in the bag_attention network, i got so much puzzle here, hope your reply. THKS

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