PKU-Alignment / omnisafe

JMLR: OmniSafe is an infrastructural framework for accelerating SafeRL research.
https://www.omnisafe.ai
Apache License 2.0
912 stars 130 forks source link

[Question] 请问在训练完成后,是否能够根据观察变量输出智能体的动作,从而对一些实验要求的自定义的性能指标进行测试呢? #343

Closed CornfileChase closed 3 months ago

CornfileChase commented 3 months ago

Required prerequisites

Questions

请问在自定义的环境下训练完成后,想输出一些实验中需要测试的性能指标,比如任务成功率,是否允许通过某种方式输出训练完成后的智能体动作呢?或者通过现有的evaluate方法怎么输出一些自定义的性能指标呢?谢谢!

Gaiejj commented 3 months ago

You can consider modifying omnisafe/evaluator.py to achieve this functionality.

CornfileChase commented 3 months ago

Thanks a lot!