Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Creating Action Tuples for Discrete Actions

Discussion in 'ML-Agents' started by IsmailAbouZeid, Aug 23, 2022.

  1. IsmailAbouZeid

    IsmailAbouZeid

    Joined:
    Aug 4, 2022
    Posts:
    1
    Hello,
    As the question suggests, I want to create action tuples holding discrete actions, supplied by a policy network using the python API, to be passed to the set_actions function. I've tried following the documentation but I keep getting the error: "numpy array has no attribute "continuous"". Can you please provide a resource for easily building discrete action tuples?
    Using mlagents 0.28.0
    Thanks!