mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:16:19 +08:00
[RLlib] Issue 12212: "TFEagerPolicy has no attribute action_sampler_fn.
This commit is contained in:
@@ -393,7 +393,7 @@ def build_eager_tf_policy(name,
|
||||
if action_sampler_fn:
|
||||
dist_inputs = None
|
||||
state_out = []
|
||||
actions, logp = self.action_sampler_fn(
|
||||
actions, logp = action_sampler_fn(
|
||||
self,
|
||||
self.model,
|
||||
input_dict[SampleBatch.CUR_OBS],
|
||||
|
||||
Reference in New Issue
Block a user