Skip to content

get puzzled in bag #14

Description

@915288938lx

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions