mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
Create a dataset using an agent (#306)
Generate a dataset using an agent (allowing to select between this and a random dataset)
This commit is contained in:
@@ -182,7 +182,7 @@ class DFPAgent(Agent):
|
||||
action_values = None
|
||||
|
||||
# choose action according to the exploration policy and the current phase (evaluating or training the agent)
|
||||
action = self.exploration_policy.get_action(action_values)
|
||||
action, _ = self.exploration_policy.get_action(action_values)
|
||||
|
||||
if action_values is not None:
|
||||
action_values = action_values.squeeze()
|
||||
|
||||
Reference in New Issue
Block a user