Skip to content

Commit

Permalink
Prepare for "Fix type-safety of torch.nn.Module instances": wave 2
Browse files Browse the repository at this point in the history
Summary: See D52890934

Reviewed By: malfet, r-barnes

Differential Revision: D66245100

fbshipit-source-id: 019058106ac7eaacf29c1c55912922ea55894d23
  • Loading branch information
ezyang authored and facebook-github-bot committed Nov 21, 2024
1 parent 7462526 commit 44eafb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pearl/utils/scripts/cb_benchmark/run_cb_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def train_via_uniform_data(
action_result = env.step(action_ind)
agent.observe(action_result)

# pyre-fixme[16]: `PolicyLearner` has no attribute `training_rounds`.
agent.policy_learner.training_rounds = training_epoches * T
agent.learn()

Expand Down

0 comments on commit 44eafb6

Please sign in to comment.