pybullet 上的 gp_minimize 通过迭代增加持续时间

问题描述

我正在尝试使用 skopts gp_minimize 优化 pybullet 多体模拟。 我优化了 500 次迭代,每次模拟需要 20 秒的运行时间,1kHz 的 20 秒模拟时间(用 timeit 测量)。 但是,对于以后的迭代,优化的持续时间从开始时的约 20 秒增加到迭代 >300 左右的 >60 秒。 我将每次迭代的数据存储在 .csv 文件

我现在正在记录用于模拟、评估和优化以及监控内存使用的时间

simulation time is the time pyBullet is running,evaluation time is the time to calculate the reward value and optimization time is the time gp_minimize takes between two simulation rollouts

使用内存分析器监控内存

enter image description here

120 次迭代后,优化时间开始急剧增加。 这是由于优化器的限制吗?或者还有其他问题吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)