You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
TemporalGoalWrapper.feature_extractor and TemporalGoal.extract_fluents are of type callable.
It is possible to create extractor that depends on more than one state, by keeping memory of the past states:
classmy_feature_extractor:
def__init__(self, *args, *kwargs):
...
# this method makes the class callabledef__call__(self, obs, action):
...
wrapper=TemporalGoalWrapper(env, feature_extractor=my_feature_extractor(), ...)
however, the state of the extractor is kept across episodes.
Describe the solution you'd like
TemporalGoalWrapper should call a reset() method of feature_extractor and of every extract_fluents. Of course they might not have a method called reset(), in that case just skip them.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
TemporalGoalWrapper.feature_extractor
andTemporalGoal.extract_fluents
are of type callable.It is possible to create extractor that depends on more than one state, by keeping memory of the past states:
however, the state of the extractor is kept across episodes.
Describe the solution you'd like
TemporalGoalWrapper
should call areset()
method offeature_extractor
and of everyextract_fluents
. Of course they might not have a method calledreset()
, in that case just skip them.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: