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

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...