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

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...