kengz / SLM-Lab

Modular Deep Reinforcement Learning framework in PyTorch. Companion library of the book "Foundations of Deep Reinforcement Learning".
https://slm-lab.gitbook.io/slm-lab/
MIT License
1.24k stars 264 forks source link

How to modify spec.json in enjoy/eval mode? #438

Closed Wen-Wen-Luffy closed 4 years ago

Wen-Wen-Luffy commented 4 years ago

I have trained a model saved in /data directory. I use 'enjoy@dqn_cartpole_t0_s0' to check the model performance. But how can I modify the spec.json configuration to reduce the 'max_frame' or 'eval_frequency' item in enjoy/eval mode? Modifying 'dqn_cartpole_spec.json' and 'dqn_cartpole_t0_s0_spec.json' in the /data does not work.

And can I get similar graph in enjoy or eval mode like train model?

Thank you very much!

Wen-Wen-Luffy commented 4 years ago

Oh, I find it can be solved by modifying 'dqn_cartpole_t0_spec.json' which is the trial spec. I'm sorry to interrupt you.