Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TF 2.0: Where can I find the upgrade of tf.contrib.training?

I want to use the HParams class from tf.contrib.training in tensorflow 2.0 version, but I can't find the replacement for this class neither in tensorflow alpha documentation nor in tensorflow_addons

like image 731
Amr M. Kayid Avatar asked May 11 '19 17:05

Amr M. Kayid


Video Answer


1 Answers

By reviewing some guides and the new hparams API, I have concluded that there is no such class. However, in the new API there exists an HParam class, and the equivalent of an HParams object is just a list of HParam objects.

Check the hparams API for more details. You can also learn how to use the new API in this guide: Hyperparameter Tuning with the HParams Dashboard

like image 129
magomar Avatar answered Oct 21 '22 16:10

magomar