Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tensorflow Hparam replacement

Tags:

tensorflow

In TF 1.12 or TF 2.0 is there going to be a replacement for the following function:

from tensorflow.contrib.training.python.training import hparam

I read that contrib module will go away or merge into core.

like image 877
gogasca Avatar asked Nov 18 '18 00:11

gogasca


People also ask

What is HParams?

HParams is a thoughtful approach to configuration management for machine learning projects. It enables you to externalize your hyperparameters into a configuration file. In doing so, you can reproduce experiments, iterate quickly, and reduce errors. Features: Approachable and easy-to-use API.

Does Kerastuner support multiple strategies?

With Keras Tuner, you can do both data-parallel and trial-parallel distribution. That is, you can use tf. distribute. Strategy to run each Model on multiple GPUs, and you can also search over multiple different hyperparameter combinations in parallel on different workers.

What is a Keras Tuner?

The Keras Tuner is a library that helps you pick the optimal set of hyperparameters for your TensorFlow program. The process of selecting the right set of hyperparameters for your machine learning (ML) application is called hyperparameter tuning or hypertuning.


1 Answers

In TF 2.0 there is a new API tensorboard.plugins.hparams.api that includes a class HParam

Usage of the new API is described in this guide: Hyperparameter Tuning with the HParams Dashboard

like image 88
magomar Avatar answered Oct 28 '22 05:10

magomar