|
a |
|
b/man/model_card_cb.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/callbacks.R |
|
|
3 |
\name{model_card_cb} |
|
|
4 |
\alias{model_card_cb} |
|
|
5 |
\title{Create model card} |
|
|
6 |
\usage{ |
|
|
7 |
model_card_cb(model_card_path = NULL, run_name, argumentList) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{model_card_path}{Directory for model card logs.} |
|
|
11 |
|
|
|
12 |
\item{run_name}{Name of training run.} |
|
|
13 |
|
|
|
14 |
\item{argumentList}{List of training arguments.} |
|
|
15 |
} |
|
|
16 |
\value{ |
|
|
17 |
Keras callback writing model cards every epoch. |
|
|
18 |
} |
|
|
19 |
\description{ |
|
|
20 |
Log information about model, hyperparameters, generator options, training data, scores etc |
|
|
21 |
} |
|
|
22 |
\examples{ |
|
|
23 |
\dontshow{if (reticulate::py_module_available("tensorflow")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} |
|
|
24 |
model_card_cb <- function(model_card_path = NULL, run_name, argumentList) |
|
|
25 |
mc <- model_card_cb(model_card_path = tempdir(), run_name = 'run_1', |
|
|
26 |
argumentList = list(learning_rate = 0.01)) |
|
|
27 |
\dontshow{\}) # examplesIf} |
|
|
28 |
} |