Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Some issues regarding attention mechanisms #118

@yshichseu

Description

@yshichseu

Dear author, thank you for providing such a lightweight reinforcement learning library. Currently, I am hoping to integrate your attention mechanism into other reinforcement learning algorithms. I encountered an issue while modifying the network. Through the configuration file of the rlagent, I noticed that due to out being set to None, the last layer of the egoattionnetwork output has a dimension of 64 (if I overlooked it, please forgive me!), but the dimension of the action space is 3. How do these two establish a mapping relationship? I used a linear layer to implement it, but it seems to be ineffective. Therefore, I need to deepen my understanding of how the attention mechanism works. I should set up an attention network between observation and reinforcement learning algorithms for feature extraction. Should the final output of the attention network be the corresponding value of the action? Thank you for your answer! Thank you!

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