-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to pass custom activation function in
policy_kwargs
(#41)
* Added act_fn optionality to td3 and sac * Updated makefile to new ruff version * Added test for policy_kwargs argument * Able to pass activation_fn to SAC model * Added the possibility to pass act_fn also for dqn * Reformatted dqn/policies.py according to black style * Add type hint to PPO like in other policies to be consistent * Added suggested adjustment * Update tests and version * Add support for TQC --------- Co-authored-by: Antonin Raffin <antonin.raffin@ensta.org>
- Loading branch information
1 parent
46dcd7f
commit 655f4a3
Showing
9 changed files
with
110 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.