浏览代码
Get timers from subprocess (#2268)
Get timers from subprocess (#2268)
* Timer proof-of-concept * micro optimizations * add some timers * cleanup, add asserts * Cleanup (no start/end methods) and handle exceptions * unit test and decorator * move output code, add a decorator * cleanup * module docstring * actually write the timings when done with training * use __qualname__ instead * add a few more timers * fix mock import * fix unit test * get timers from worker process (WIP) * clean up timer merging * typo * WIP * cleanup merging code * bad merge * undo accidental change * remove reset command * fix style * fix unit tests * fix unit tests (they got overwrote in merge) * get timer root though a function * timer around communicate/develop-generalizationTraining-TrainerController
GitHub
5 年前
当前提交
f82f0f37
共有 4 个文件被更改,包括 114 次插入 和 21 次删除
-
11ml-agents-envs/mlagents/envs/environment.py
-
42ml-agents-envs/mlagents/envs/subprocess_env_manager.py
-
11ml-agents-envs/mlagents/envs/tests/test_subprocess_env_manager.py
-
71ml-agents-envs/mlagents/envs/timers.py
撰写
预览
正在加载...
取消
保存
Reference in new issue