浏览代码
Make the Agent reset immediately after Done (#3291)
Make the Agent reset immediately after Done (#3291)
* Made the Agent reset immediately * fixing the C# tests * Fixing the tests still * Trying with incremental episode ids * deleting buffer rather than using an empty list * Addressing the comments * Forgot to edit the comment on AgentInfo * Updating the migrating doc * Fixed an obvious bug * cleaning after an agent is done in agent processor * Fixing the pytest errors/asymm-envs
GitHub
5 年前
当前提交
590559e7
共有 12 个文件被更改,包括 97 次插入 和 117 次删除
-
2UnitySDK/Assets/ML-Agents/Editor/Tests/DemonstrationTests.cs
-
47UnitySDK/Assets/ML-Agents/Editor/Tests/MLAgentsEditModeTest.cs
-
10UnitySDK/Assets/ML-Agents/Scripts/Academy.cs
-
99UnitySDK/Assets/ML-Agents/Scripts/Agent.cs
-
2UnitySDK/Assets/ML-Agents/Scripts/Grpc/GrpcExtensions.cs
-
2UnitySDK/Assets/ML-Agents/Scripts/Grpc/RpcCommunicator.cs
-
8UnitySDK/Assets/ML-Agents/Scripts/InferenceBrain/GeneratorImpl.cs
-
2UnitySDK/Assets/ML-Agents/Scripts/InferenceBrain/ModelRunner.cs
-
1docs/Migrating.md
-
19ml-agents/mlagents/trainers/agent_processor.py
-
11UnitySDK/Assets/ML-Agents/Scripts/EpisodeIdCounter.cs
-
11UnitySDK/Assets/ML-Agents/Scripts/EpisodeIdCounter.cs.meta
|
|||
namespace MLAgents |
|||
{ |
|||
public static class EpisodeIdCounter |
|||
{ |
|||
private static int Counter; |
|||
public static int GetEpisodeId() |
|||
{ |
|||
return Counter++; |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 847786b7bcf9d4817b3f3879d57517c7 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue