Open radillus opened 1 year ago
Did you solve the problem? I get the same error.
Did you solve the problem? I get the same error.
No, I can not find the solution, maybe you want to try the new RLModule API since ModelV2 API will be superseded.
BTW, I tried many other rl libs, but they all have some problems with custom enviroment and policy.
Did you solve the problem? I get the same error.
No, I can not find the solution, maybe you want to try the new RLModule API since ModelV2 API will be superseded.
BTW, I tried many other rl libs, but they all have some problems with custom enviroment and policy.
Thanks for your reply! Hope it will be fixed soon.
Did you solve the problem? I get the same error.
No, I can not find the solution, maybe you want to try the new RLModule API since ModelV2 API will be superseded. BTW, I tried many other rl libs, but they all have some problems with custom enviroment and policy.
Thanks for your reply! Hope it will be fixed soon.
Hi! I found that my issue was due to some termination conditions I included in the run file (rather than the environment file). Also, I wrote a run file by referring to action_masking.py and it is currently being trained normally. I hope it helps if the problem still persists.
What happened + What you expected to happen
While using custom model, I have encountered KeyError: 'obs', and it seems caused by a empty sample batch
and I add print("input_dict", input_dict) in
ray.rllib.models.modelv2.__call__
method it printsinput_dict SampleBatch(0: [])
rather than normalinput_dict SampleBatch(1: ['obs'])
Versions / Dependencies
python=3.10.11
,ray=2.4.0
, Ubuntu22.04(wsl2)Reproduction script
Issue Severity
High: It blocks me from completing my task.