hill-a / stable-baselines

A fork of OpenAI Baselines, implementations of reinforcement learning algorithms
http://stable-baselines.readthedocs.io/
MIT License
4.14k stars 723 forks source link

[question] PPO load using .pkl file #1176

Closed meric-sakarya closed 1 year ago

meric-sakarya commented 1 year ago

I am trying to continue training of my RL agent, which I saved using PPO.save(). It is saved as a .pkl file and when I try to load it using PPO.load() I receive this error: FileNotFoundError: [Errno 2] No such file or directory: 'D:...\Logs\model_Pharma-infinite_horizon_24_10years_0.1_exchange_cost_0.05_0.95_reward_tweak_0.zip'

There is no .zip file at that location because it is a .pkl file.

araffin commented 1 year ago

Duplicate of https://github.com/DLR-RM/stable-baselines3/issues/1109