import metastable_projections corretly when accesing via string name

This commit is contained in:
Dominik Moritz Roth 2024-01-16 15:35:18 +01:00
parent d5e53a87db
commit 3d2b7dfc8f

View File

@ -13,6 +13,7 @@ from stable_baselines3.common.type_aliases import GymEnv, MaybeCallback, Schedul
from stable_baselines3.common.utils import explained_variance, get_schedule_fn from stable_baselines3.common.utils import explained_variance, get_schedule_fn
from metastable_projections import BaseProjectionLayer, FrobeniusProjectionLayer, WassersteinProjectionLayer, KLProjectionLayer from metastable_projections import BaseProjectionLayer, FrobeniusProjectionLayer, WassersteinProjectionLayer, KLProjectionLayer
import metastable_projections
SelfTRPL = TypeVar("SelfTRPL", bound="TRPL") SelfTRPL = TypeVar("SelfTRPL", bound="TRPL")