Skip to content

Conversation

@Prishruit
Copy link
Collaborator

No description provided.

Comment on lines 32 to 37
self._q_values = np.zeros(obs_dim, act_dim)
self._gamma = gamma
self._alpha = alpha
self._act_dim = act_dim
self._epsilon_schedule = LinearSchedule(1.0, final_epsilon, explore_steps)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tutorial needs to be updated based on the new api. We no longer pass act_dim and obs_dim, we instead pass spaces. Can you please update the tutorial?

defaults to :py:class:`~torch.optim.Adam`.
critic_optimizer_fn (OptimizerFn): A function that takes in the list of
parameters of the critic returns the optimizer for the critic. If None,
parameters of the critic and returns the optimizer for the critic. If None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure any changes to docstrings/comments result in lines <=88 columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants