Skip to content

Commit

Permalink
完善了强化学习节点
Browse files Browse the repository at this point in the history
  • Loading branch information
jayscoder committed Apr 9, 2024
1 parent 3135b54 commit 67ea1e9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions pybts/rl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .on_policy import bt_on_policy_collect_rollouts, bt_on_policy_setup_learn, bt_on_policy_train, RLOnPolicyNode
from .nodes import Reward
from .tree import RLTree
1 change: 0 additions & 1 deletion pybts/rl/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ def tick(
for scope in self.context['rl_reward']:
self.context['rl_reward'][scope] = 0 # 清空奖励
super().tick(pre_tick_handler=pre_tick_handler, post_tick_handler=post_tick_handler)

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pybts"
version = "1.3.5"
version = "1.3.6"
description = ""
authors = ["王童 <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 67ea1e9

Please sign in to comment.