8d12411ea661a8616de84c705b575dbd9bac921a,deepplantphenomics/deepplantpheno.py,DPPModel,load_images_from_list,#DPPModel#Any#,1076

Before Change


            train_images, train_labels, test_images, test_labels = loaders.split_raw_data(images, self.__all_labels, self.__train_test_split)

            // create batches of input data and labels for training
            self.__parse_dataset(train_images, train_labels, test_images, test_labels)
        else:
            self.__parse_images(images)

    def load_multiple_labels_from_csv(self, filepath, id_column=0):

After Change


        // prepare images for training (if there are any labels loaded)
        if self.__all_labels is not None:
            // split data
            with self.__graph.as_default():
                train_images, train_labels, test_images, test_labels = loaders.split_raw_data(images, self.__all_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)
        else:
            with self.__graph.as_default():
                self.__parse_images(images)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 8

Instances


Project Name: p2irc/deepplantphenomics
Commit Name: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_images_from_list


Project Name: p2irc/deepplantphenomics
Commit Name: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
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: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_ippn_dataset_from_directory


Project Name: p2irc/deepplantphenomics
Commit Name: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_ippn_leaf_count_dataset_from_directory


Project Name: p2irc/deepplantphenomics
Commit Name: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_lemnatec_images_from_directory


Project Name: p2irc/deepplantphenomics
Commit Name: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
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: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
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: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_ippn_tray_dataset_from_directory


Project Name: p2irc/deepplantphenomics
Commit Name: 8d12411ea661a8616de84c705b575dbd9bac921a
Time: 2017-03-03
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: load_images_from_list