make_generator | R Documentation |
creates a generator for training
make_generator( data_image, data_tab, batch_size, target_size, color_mode, is_trafo = FALSE, x_col, shuffle = TRUE, seed = 42L )
data_image |
data.frame with image location as character |
data_tab |
tabular data as given by |
batch_size |
integer |
target_size |
size of the image without sample and colour channel |
color_mode |
character; |
is_trafo |
logical; indicating whether model is a trafo model |
x_col |
name of image column in |
shuffle |
logical for shuffling data |
seed |
seed for shuffling in generators |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.