[RLlib] Issue 12212: "TFEagerPolicy has no attribute action_sampler_fn.

This commit is contained in:
Sven Mika 2020-12-11 12:57:33 +01:00 committed by GitHub
parent 86b0741026
commit a082ea18b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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],