-
Notifications
You must be signed in to change notification settings - Fork 96
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
The actor networks cannot output negative values. #43
Comments
我当前使用的是maddpg,我用masac试了一下也不能输出负值 |
wenzhangliu
changed the title
网络无法输出负值
The actor networks cannot output negative values.
Jul 6, 2024
It is might because the activation function of the last layer in the actor-network is set as "sigmoid". In the newest version of XuanCe (v1.2.1), you can set the activation_action attribute to control the output range of actor networks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,我在代码自定义环境中指定action_space范围为-1到1,但是网络输出的action只有0-1,请问是bug还是有其他地方需要配置
The text was updated successfully, but these errors were encountered: