Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Help Wanted How to get done or terminal information in python code?

Discussion in 'ML-Agents' started by mks0813, May 25, 2020.

  1. mks0813

    mks0813

    Joined:
    Oct 3, 2017
    Posts:
    4
    Hello. I have a question about python code for ML-Agents.
    First, I want to ask that there is a plan for releasing python example code (getting_started.ipynb in previous versions).
    There is no python example codes in ML-Agents 1.0 release 1 and release 2, so I am trying to use the getting_started.ipynb in version 0.15.1.
    I fixed some parts of the codes, so I could run 1 step.
    However, I couldn't find where I can get done or terminal information.

    In the following image, I checked that the step_result consists of DecisionSteps and TerminalSteps. However, there was no done or terminal information in step_result. So, I want to ask that how can I get done or terminal information of the agent in the python script.
    upload_2020-5-25_21-13-34.png

    Thank you.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    508
    Hey there! I'll flag this for the team to take a look, and provide some insight.
     
  3. celion_unity

    celion_unity

    Unity Technologies

    Joined:
    Jun 12, 2019
    Posts:
    147
unityunity