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

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...