Skip to content

usage of critic_value_new[dones[:, 0.0]] = 0.0 in learn() #9

@VijiKK

Description

@VijiKK

critic_value_[dones[:,0]] = 0.0

Hi Phill,

Could you please help me to understand what's this line is for?
critic_value_new[dones[:, 0.0]] = 0.0
Since critic_value_new float variable it cannot be used as array. Should we set just dones[agent_idx] to 0?

Thanks and Regards
Viji

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions