Closed spsingh37 closed 6 months ago
Currently, there is no documentation for users to implement their own algorithms yet. I'd love to make one though... One thing I can propose is to directly modify base RL algorithms. For example, if your new algorithm is based on SAC, I suggest you to directly edit these files: https://github.com/takuseno/d3rlpy/blob/cb2f771adeac06b26a010f112a218e2eef99f028/d3rlpy/algos/qlearning/sac.py#L29
I have added an example to create your own algorithm: https://github.com/takuseno/d3rlpy/blob/master/examples/custom_algo.py
Once you implement your own algorithm, you can leverage all functionalities that d3rlpy provides.
Please let me close this issue because this is the best thing I can provide for now.
Hi,
I'm trying to integrate a model-based RL algorithm to the d3rlpy library but couldn't find any documentation to know where & how to begin. Would really appreciate if you could please point me where to look and maybe the specific steps?