Create a goal conditioned wrapper for the environments. #115
Replies: 3 comments
-
The specific implementation of the |
Beta Was this translation helpful? Give feedback.
-
Hi, I was able to get my custom goal-conditioned wrapper implemented. The issue was that those attributes are only populated after the reset and I was not doing that before. However, I have a followup question. Right now I use the |
Beta Was this translation helpful? Give feedback.
-
Additionally, you can utilize the |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have been using the Safe Point Goal environment. However, I need to write a goal-conditioned wrapper around it for my work. I have noticed that there is a
sample_goal_position
function in therandom_generator
of the task of the environment but when i use it to sample a valid goal position it complains the following,in sample_goal_position placements, keepout = self.placements['goal'] TypeError: 'NoneType' object is not subscriptable
I have noticed that the
placements_info.placements
is indeed empty so I need to initialize it. However I am not sure which API to use for that as I found thebuild_placements_dict
function that is abstract.Can you point me to some documentation or help me out with pointers on how can I create a goal-conditioned wrapper for the environments supported by safety-gymnasium?
Beta Was this translation helpful? Give feedback.
All reactions