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
I have tried to load the trained agent with these lines
from stable_baselines3 import SAC agent = SAC.load("BipedalWalker-v3.zip")
Where of course the file "BipedalWalker-v3.zip" comes from here.
I get this error: AttributeError: Can't get attribute 'TrainFreq' on <module 'stable_baselines3.common.type_aliases' from 'C:\\Users\\Davide\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\stable_baselines3\\common\\type_aliases.py'>
Like it is incompatible with some file of stable_baselines_3. Note that the same problem holds for other off-policy algorithms (like DDPG) but not for on-policy ones (like PPO).
The text was updated successfully, but these errors were encountered:
I have tried to load the trained agent with these lines
from stable_baselines3 import SAC
agent = SAC.load("BipedalWalker-v3.zip")
Where of course the file "BipedalWalker-v3.zip" comes from here.
I get this error:
AttributeError: Can't get attribute 'TrainFreq' on <module 'stable_baselines3.common.type_aliases' from 'C:\\Users\\Davide\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\stable_baselines3\\common\\type_aliases.py'>
Like it is incompatible with some file of stable_baselines_3. Note that the same problem holds for other off-policy algorithms (like DDPG) but not for on-policy ones (like PPO).
The text was updated successfully, but these errors were encountered: