Hyperparameter optimization for Pytorch model

后端 未结 4 1614
有刺的猬
有刺的猬 2021-01-30 13:48

What is the best way to perform hyperparameter optimization for a Pytorch model? Implement e.g. Random Search myself? Use Skicit Learn? Or is there anything else I am not aware

4条回答
  •  独厮守ぢ
    2021-01-30 14:25

    You can use Bayesian optimization (full disclosure, I've contributed to this package) or Hyperband. Both of these methods attempt to automate the hyperparameter tuning stage. Hyperband is supposedly the state of the art in this space. Hyperband is the only parameter-free method that I've heard of other than random search. You can also look into using reinforcement learning to learn the optimal hyperparameters if you prefer.

提交回复
热议问题