You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
This function gets called when instantiating the network with the knowledge of the env and its observation and action spaces, which are used to set the input and output sizes:
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!
The text was updated successfully, but these errors were encountered: