-
Notifications
You must be signed in to change notification settings - Fork 75.3k
ImageDataGenerator should have a verbosity argument #42681
Copy link
Copy link
Closed
keras-team/keras-preprocessing
#350Labels
comp:kerasKeras related issuesKeras related issuesstaleThis label marks the issue/pr stale - to be closed automatically if no activityThis label marks the issue/pr stale - to be closed automatically if no activitystat:awaiting responseStatus - Awaiting response from authorStatus - Awaiting response from authortype:featureFeature requestsFeature requests
Metadata
Metadata
Assignees
Labels
comp:kerasKeras related issuesKeras related issuesstaleThis label marks the issue/pr stale - to be closed automatically if no activityThis label marks the issue/pr stale - to be closed automatically if no activitystat:awaiting responseStatus - Awaiting response from authorStatus - Awaiting response from authortype:featureFeature requestsFeature requests
System information
Describe the feature and the current behavior/state.
When calling
tensorflow.keras.preprocessing.image.ImageDataGenerator.flow_from_directory, currently a message likeFound 1437 images belonging to 2 classes.is printed.I suggest adding an optional keyword argument
verbosewith default settingverbose=1to this function, such thatverbose=0suppresses this printed message. See e.g. theverbosekeywords oftf.keras.Model.fit, or of theEarlyStoppingorModelCheckpointcallbacks.Will this change the current api? How?
This will add an optional keyword argument.
Who will benefit with this feature?
batch_sizevalues during hyperparameter tuning. In this case, the repeated message is uninteresting and distracts from the interesting output and should therefore be omittable.