imitation icon indicating copy to clipboard operation
imitation copied to clipboard

Save reward_net's checkpoint?

Open Liuzy0908 opened this issue 2 years ago • 1 comments

Problem

Hello! Thanks so much for sharing the code! There is a question.

I want to load the trained learner net and the trained reward_net to train learner and reward_net again. So how do I save reward_net's checkpoint after the first training GAIL?

Thanks ;).

Liuzy0908 avatar Mar 30 '23 13:03 Liuzy0908

Hi @Liuzy0908, thanks for making us aware of the lack of documentation here. We have an an overhaul of the documentation on reward networks planned in #714 Until then maybe have a look at this function where the reward net of an adversarial trainer is stored.

ernestum avatar May 15 '23 08:05 ernestum