Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Creating Action Tuples for Discrete Actions

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

  1. IsmailAbouZeid


    Aug 4, 2022
    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