Search Unity

Prompt doesn't display "Start training by pressing the Play button in the Unity Editor"

Discussion in 'ML-Agents' started by sniffle63, Mar 23, 2020.

  1. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    Command Prompt doesn't say "Start training by pressing the Play button in the Unity Editor" but I can still train fine, not sure if its a bug, I did something wrong, or what exactly.

    So just posting to see!

    Also curious about this
    "disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
    Instructions for updating:
    non-resource variables are not supported in the long term"


    upload_2020-3-23_16-0-42.png
     
  2. celion_unity

    celion_unity

    Joined:
    Jun 12, 2019
    Posts:
    289
    Thanks for the report, we've seen some inconsistencies with the python logging level with different versions of tensorflow.

    For what it's worth, here's how it appears on my laptop:
    Code (csharp):
    1. $ mlagents-learn  config/trainer_config.yaml --train
    2. WARNING:tensorflow:From /Users/chris.elion/code/ml-agents/venv/lib/python3.7/site-packages/tensorflow_core/python/compat/v2_compat.py:65: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
    3. Instructions for updating:
    4. non-resource variables are not supported in the long term
    5.  
    6.  
    7.                         ▄▄▄▓▓▓▓
    8.                    ╓▓▓▓▓▓▓█▓▓▓▓▓
    9.               ,▄▄▄m▀▀▀'  ,▓▓▓▀▓▓▄                           ▓▓▓  ▓▓▌
    10.            ▄▓▓▓▀'      ▄▓▓▀  ▓▓▓      ▄▄     ▄▄ ,▄▄ ▄▄▄▄   ,▄▄ ▄▓▓▌▄ ▄▄▄    ,▄▄
    11.           ▄▓▓▓▀        ▄▓▓▀   ▐▓▓▌     ▓▓▌   ▐▓▓ ▐▓▓▓▀▀▀▓▓▌ ▓▓▓ ▀▓▓▌▀ ^▓▓▌  ╒▓▓▌
    12.         ▄▓▓▓▓▓▄▄▄▄▄▄▄▄▓▓▓      ▓▀      ▓▓▌   ▐▓▓ ▐▓▓    ▓▓▓ ▓▓▓  ▓▓▌   ▐▓▓▄ ▓▓▌
    13.         ▀▓▓▓▓▀▀▀▀▀▀▀▀▀▀▓▓▄     ▓▓      ▓▓▌   ▐▓▓ ▐▓▓    ▓▓▓ ▓▓▓  ▓▓▌    ▐▓▓▐▓▓
    14.           ^█▓▓▓        ▀▓▓▄   ▐▓▓▌     ▓▓▓▓▄▓▓▓▓ ▐▓▓    ▓▓▓ ▓▓▓  ▓▓▓▄    ▓▓▓▓`
    15.             '▀▓▓▓▄      ^▓▓▓  ▓▓▓       └▀▀▀▀ ▀▀ ^▀▀    `▀▀ `▀▀   '▀▀    ▐▓▓▌
    16.                ▀▀▀▀▓▄▄▄   ▓▓▓▓▓▓,                                      ▓▓▓▓▀
    17.                    `▀█▓▓▓▓▓▓▓▓▓▌
    18.                         ¬`▀▀▀█▓
    19.  
    20.        
    21. Version information:
    22.   ml-agents: 0.15.0,
    23.   ml-agents-envs: 0.15.0,
    24.   Communicator API: 0.15.0,
    25.   TensorFlow: 2.0.1
    26. 2020-03-23 14:13:30 INFO [environment.py:131] Listening on port 5004. Start training by pressing the Play button in the Unity Editor.
    (note the tensorflow warning is before the logo).

    Anyway, I'm going to try to sort out the logging a bit more consistently.

    The tensorflow warning is safe to ignore.
     
  3. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    Interesting!
    Ok good to know, ill continue as is and ignore the warning and will just assume its ready for me to click play