Wednesday, May 12, 2021

 

ImageDataGenerator class modes


Mode for yielding the targets (labels)

categoricalDefault. Returns 2D one hot encoded labels
binary1D binary labels
sparse1D integer labels
inputImages identical to input images
multi_output list with the values of the different columns,
rawnum_py array of values in y_col columns
NoneNo labels are returned. Only batches of image data is yielded


None-> return only images, no labels. this can be useful for prediction phase.

No comments:

Post a Comment

Loop Engineering: Designing the Systems That Prompt Your Agents

Loop Engineering For the last couple of years, the core skill in working with AI was writing a good prompt. You'd craft careful instru...