Hi guys, I hope some basic questions are welcome as well.
After reading a bunch of guthub issues and community topics, I’m still struggling with the very basic task of restoring a previously trained agent and continuing the training.
I thought something like this should work:
trainer = ppo.PPOTrainer(env="CartPole-v0")
trainer.restore(path)
tune.run(trainer)
…but it gives me
ray.tune.error.TuneError: Improper 'run' - not string nor trainable.
which confuses me, because when I print the type of the trainer object it returns
<class ‘ray.rllib.agents.trainer_template.PPO’>
Can you, please point me to the correct way of doing it?