diff --git a/docs/Energy_Draw.md b/docs/Energy_Draw.md index 950e8a4..4b58907 100644 --- a/docs/Energy_Draw.md +++ b/docs/Energy_Draw.md @@ -7,15 +7,17 @@ A callback for recording GPU power draw (watts) on epoch begin and end. The call ### how-to-use -Use it as you would use any other Callback in Tensorflow or Keras. +Before `model.fit()` in the input model: -` -power_draw = PowerDrawCallback() +`power_draw = PowerDrawCallback()` -model.fit(...callbacks=[power_draw]...) -` +Then use `power_draw` as you would callbacks in general: -It's possible to read the energy draw data: +`model.fit(...callbacks=[power_draw]...)` -`print(power_draw.logs)` +To get the energy draw data into the experiment log: + +`history = talos.utils.power_draw_append(history, power_draw)` + +NOTE: this line has to be after `model.fit()`. diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 89961a9..5149099 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ ![logo](_media/talos_logo_bg.png) -## v1.2 +## v1.2.3 > Hyperparameter Experiments with Tensorflow, PyTorch and Keras diff --git a/docs/index.html b/docs/index.html index c9e846d..05e0111 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,7 @@