31100ce1a4e4ce730cc17d43c6cc5a295d746d57,deepplantphenomics/deepplantpheno.py,DPPModel,load_dataset_from_directory_with_auto_labels,#DPPModel#Any#,1045
Before Change
train_images, train_labels, test_images, test_labels = loaders.split_raw_data(image_files, labels, self.__train_test_split)
// create batches of input data and labels for training
with self.__graph.as_default():
self.__parse_dataset(train_images, train_labels, test_images, test_labels)
def load_lemnatec_images_from_directory(self, dirname):
Loads the RGB (VIS) images from a Lemnatec plant scanner image dataset. Unless you only want to do
preprocessing, regression or classification labels MUST be loaded first.
After Change
// split data
with self.__graph.as_default():
if self.__has_moderation:
train_images, train_labels, test_images, test_labels, train_mf, test_mf = \
loaders.split_raw_data(image_files, labels, self.__train_test_split, moderation_features=self.__all_moderation_features)
self.__parse_dataset(train_images, train_labels, test_images, test_labels, train_mf=train_mf, test_mf=test_mf)
else:
train_images, train_labels, test_images, test_labels = loaders.split_raw_data(image_files, labels, self.__train_test_split)
self.__parse_dataset(train_images, train_labels, test_images, test_labels)
def load_lemnatec_images_from_directory(self, dirname):
Loads the RGB (VIS) images from a Lemnatec plant scanner image dataset. Unless you only want to do
preprocessing, regression or classification labels MUST be loaded first.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 15
Instances Project Name: p2irc/deepplantphenomics
Commit Name: 31100ce1a4e4ce730cc17d43c6cc5a295d746d57
Time: 2017-03-10
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_dataset_from_directory_with_auto_labels
Project Name: p2irc/deepplantphenomics
Commit Name: 31100ce1a4e4ce730cc17d43c6cc5a295d746d57
Time: 2017-03-10
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_inra_dataset_from_directory
Project Name: p2irc/deepplantphenomics
Commit Name: 31100ce1a4e4ce730cc17d43c6cc5a295d746d57
Time: 2017-03-10
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_dataset_from_directory_with_csv_labels
Project Name: p2irc/deepplantphenomics
Commit Name: 31100ce1a4e4ce730cc17d43c6cc5a295d746d57
Time: 2017-03-10
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_dataset_from_directory_with_auto_labels