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
Thanks for your feedback, we have fixed this problem in the similar way you mentioned. The nesting problem between multiple model wrappers is indeed a challenging matter.
DI-engine/ding/model/wrapper/model_wrappers.py
Line 76 in de9ada0
pass should be replaced by code like
if hasattr(self._model, 'reset'): return self._model.reset(data_id=data_id, *args, **kwargs)
This bug can cause many issues.
For instance, if a model is first wrapped by the HiddenStatesWrapper then the EpsGreedyWrapper, calling reset method will not reset states.
The text was updated successfully, but these errors were encountered: