Skip to content

Commit

Permalink
add edt policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiheng123 committed Jul 1, 2024
1 parent 1acb51d commit 485264b
Show file tree
Hide file tree
Showing 6 changed files with 680 additions and 145 deletions.
2 changes: 2 additions & 0 deletions ding/entry/tests/test_serial_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ def test_discrete_dt():
from ding.data import create_dataset
from ding.config import compile_config
from ding.model import DecisionTransformer
from ding.model.template.elastic_decision_transformer import ElasticDecisionTransformer
from ding.policy import DTPolicy
from ding.policy.edt import EDTPolicy
from ding.framework.middleware import interaction_evaluator, trainer, CkptSaver, \
OfflineMemoryDataFetcher, offline_logger, termination_checker
ding_init(config[0])
Expand Down
Loading

0 comments on commit 485264b

Please sign in to comment.