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. Dismiss Notice

Question Environment Setting during running

Discussion in 'ML-Agents' started by yangpengzhi, Nov 22, 2021.

  1. yangpengzhi

    yangpengzhi

    Joined:
    Nov 22, 2021
    Posts:
    15
    Hi!

    I'm using gym-unity to train an agent's policy. But I'm wondering whether it's possible that I change the env's properties like ground friction, fog's thickness for each episode during runtime?

    Thank you!
     
  2. gft-ai

    gft-ai

    Joined:
    Jan 12, 2021
    Posts:
    44
  3. yangpengzhi

    yangpengzhi

    Joined:
    Nov 22, 2021
    Posts:
    15
    Thank you! I'll take a look
     
  4. yangpengzhi

    yangpengzhi

    Joined:
    Nov 22, 2021
    Posts:
    15
    Actually, the fog property has been defined in shaders. Is it possible to modify it during training for each episode with python?