File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -370,9 +370,6 @@ The steps for enabling stacking depends on how you generate observations:
370370 Generally, this should happen in the ` CreateSensor() ` method of your
371371 ` SensorComponent ` .
372372
373- Note that stacking currently only supports for vector observations; stacking
374- for visual observations is not supported.
375-
376373#### Vector Observation Summary & Best Practices
377374
378375- Vector Observations should include all variables relevant for allowing the
@@ -432,6 +429,10 @@ have a unique name so that they can be sorted deterministically (the name must
432429be unique for that Agent, but multiple Agents can have a Sensor Component with
433430the same name).
434431
432+ Visual observations also support stacking, by specifying ` Observation Stacks `
433+ to a value greater than 1. The visual observations from the last ` stackSize-1 `
434+ steps will be stacked on the last dimension (channel dimension).
435+
435436When using ` RenderTexture ` visual observations, a handy feature for debugging is
436437adding a ` Canvas ` , then adding a ` Raw Image ` with it's texture set to the
437438Agent's ` RenderTexture ` . This will render the agent observation on the game
You can’t perform that action at this time.
0 commit comments