Skip to content

How to save trained model to a file and apply the model? #64

Answered by PaParaZz1
zhangjingwei713 asked this question in Q&A
Discussion options

You must be logged in to vote
  • test_smac_env.py (link) is just a unittest file for smac environment without any training code.
  • For SMAC training, you can enter ding -m serial -c dizoo/smac/config/smac_3s5z_qmix_config.py -s 0 in your terminal, and model will be saved automatically in default_experiment/ckpt directory when better final reward is acquired.
  • For more details of loading and saving model, you can refer to doc.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zhangjingwei713
Comment options

@PaParaZz1
Comment options

@upia99
Comment options

Answer selected by PaParaZz1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants