-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
Question
Hello, I am using SB3 to train some model where I want the inference to run on embedded robots using C++. I had a look at PyTorch documentation and doing this is not very hard "by hand", but the process could indeed be automated.
I could maybe contribute, but I would like some questions to be answered about how do you imagine the feature.
In my opinion, there is more that can be done that simply documenting it, because we could help to automate the observation and action rescaling and normalizing, in a way such that methods like model.predict gets converted seamlessly to C++.
Here is how I would see it:
- We provide some piece of C++
- We provide the methods that export the JIT PyTorch models (
.pt) from the different agents implemented in SB3 - We provide some code that generates some C++ (at least we need to be able to export the action and observation definitions so that the pre/post processing of observations and actions are implemented in C++ as well)
What do you think ?
Additional context
Checklist
- I have read the documentation (required)
- I have checked that there is no similar issue in the repo (required)
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested