浏览代码

[docs] Update Mirgration.md to call out the need to re-import NN files for the latest Barracuda release. (#3469)

/asymm-envs
GitHub 5 年前
当前提交
cf7d0309
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      docs/Migrating.md

1
docs/Migrating.md


### Steps to Migrate
* Replace your Agent's implementation of `CollectObservations()` with `CollectObservations(VectorSensor sensor)`. In addition, replace all calls to `AddVectorObs()` with `sensor.AddObservation()` or `sensor.AddOneHotObservation()` on the `VectorSensor` passed as argument.
* Replace your calls to `SetActionMask` on your Agent to `ActionMasker.SetActionMask` in `CollectObservations`
* Re-import all of your `*.NN` files to work with the updated Barracuda package.
## Migrating from 0.13 to 0.14

正在加载...
取消
保存