66146cc04fac06e19e8f7386b933d18c9344b232,keras_preprocessing/image/directory_iterator.py,DirectoryIterator,__init__,#DirectoryIterator#,67
Before Change
interpolation)
self.directory = directory
self.classes = classes
if class_mode not in {"categorical", "binary", "sparse",
"input", None}:
raise ValueError("Invalid class_mode:", class_mode,
" expected one of "categorical", "
""binary", "sparse", "input""
" or None.")
self.class_mode = class_mode
self.dtype = dtype
// First, count the number of samples and classes.
self.samples = 0
After Change
interpolation)
self.directory = directory
self.classes = classes
if class_mode not in self.allowed_class_modes:
raise ValueError("Invalid class_mode: {}; expected one of: {}"
.format(class_mode, self.allowed_class_modes))
self.class_mode = class_mode
self.dtype = dtype
// First, count the number of samples and classes.
self.samples = 0
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: keras-team/keras-preprocessing
Commit Name: 66146cc04fac06e19e8f7386b933d18c9344b232
Time: 2018-12-27
Author: rragundez@users.noreply.github.com
File Name: keras_preprocessing/image/directory_iterator.py
Class Name: DirectoryIterator
Method Name: __init__
Project Name: keras-team/keras-preprocessing
Commit Name: 66146cc04fac06e19e8f7386b933d18c9344b232
Time: 2018-12-27
Author: rragundez@users.noreply.github.com
File Name: keras_preprocessing/image/dataframe_iterator.py
Class Name: DataFrameIterator
Method Name: __init__
Project Name: tryolabs/luminoth
Commit Name: 3d76f1419df74f80369785cc962f1d143eb172de
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd_feature_extractor.py
Class Name: SSDFeatureExtractor
Method Name: __init__