You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a DataGenerator during testing, by omitting the labels param is fine. But users should be made aware, that if they give a DataAugmentation object during testing, it will be ignored, because manipulating testing images is pointless.
Favored solution
gen_val=data_generator.DataGenerator(
samples=samples,
path_imagedir=path_imagedir,
image_format=image_format,
labels=None, # testing,data_aug=data_aug# still giving a DataAugmentation object, which should be ignored
)
The text was updated successfully, but these errors were encountered:
Problem description
Using a
DataGenerator
during testing, by omitting thelabels
param is fine. But users should be made aware, that if they give aDataAugmentation
object during testing, it will be ignored, because manipulating testing images is pointless.Favored solution
The text was updated successfully, but these errors were encountered: