Search Unity

Question Lots of GCs have occurred during NN model run

Discussion in 'ML-Agents' started by kokimitsunami, Sep 1, 2022.

  1. kokimitsunami

    kokimitsunami

    Joined:
    Sep 2, 2021
    Posts:
    25
    As the Unity Profiler timeline screenshot attached shows, it appears that a lot of GCs is occurring while myagent's NN model is running, significantly slowing down the execution speed. Is this appropriate behavior? Or am I missing something? I hope someone can help me with this.
    MLAgentsProfile.JPG
     
    airoll likes this.
  2. airoll

    airoll

    Joined:
    Jan 12, 2021
    Posts:
    37
    kokimitsunami likes this.