MCPcopy Create free account

hub / github.com/GuillaumeErhard/ImageSetCleaner / functions

Functions51 in github.com/GuillaumeErhard/ImageSetCleaner

↓ 8 callersFunctionget_nb_false_positive
(ground_truth, predictions)
Test/testing_and_visualisation.py:27
↓ 6 callersFunctionsemi_supervised_detection
This function will assemble the values of the image directory, and from random images, to perform a clustering on those, and will return the
predicting.py:137
↓ 5 callersFunctionbenchmark_semi_supervised
:param main_label_bottlenecks: Numpy array containing all the bottleneck values of your main label. :param polution_label_bottlenecks: Numpy
Test/testing_and_visualisation.py:157
↓ 4 callersFunctionget_bottlenecks_values
(image_dir, architecture='mobilenet_1.0_224', model_dir='./model/')
bottleneck.py:257
↓ 4 callersFunctionget_nb_false_negative
(ground_truth, predictions)
Test/testing_and_visualisation.py:18
↓ 4 callersFunctionget_nb_outliers_found
(ground_truth, predictions)
Test/testing_and_visualisation.py:37
↓ 4 callersFunctionnormalize_predictions
We take the assumption that the data set contains less than 50 % of outlier. Given that the classifier, gives the label 0 and 1 for the same
predicting.py:10
↓ 4 callersFunctionstich_images
Given a shape you want for your images, will create a mozaic, the size of your screen to visualize multiple image at once. :para
Test/testing_and_visualisation.py:333
↓ 3 callersFunctionbenchmark_one_class_poluted
:param main_label_bottlenecks: Numpy array containing all the bottleneck values of your main label. :param polution_label_bottlenecks: Numpy
Test/testing_and_visualisation.py:65
↓ 3 callersFunctionensure_directory
(path)
file_processing.py:4
↓ 3 callersFunctionget_all_images_path
(image_dir)
file_processing.py:10
↓ 3 callersFunctionsee_iso_map
:param bottlenecks: :param labels: :param suptitle: String to add as plot suptitles :return: Nothing, will just plot a scatter plot
Test/testing_and_visualisation.py:249
↓ 2 callersMethod__init__
(self, paths)
gui_image_selector.py:155
↓ 2 callersFunctiondelete_images
This function will delete our detected images to the desired location. :param image_paths: A list containing the paths to every images detect
file_processing.py:65
↓ 2 callersFunctiondetection_with_agglomaritve_clustering
Really good if the classes you are analyzing are close to what the network learned. :param image_set: The bottleneck values of the relevant
predicting.py:79
↓ 2 callersFunctiondetection_with_birch
:param image_set: The bottleneck values of the relevant images. :return: Predictions vector
predicting.py:43
↓ 2 callersFunctiondetection_with_gaussian_mixture
:param image_set: The bottleneck values of the relevant images. :return: Predictions vector
predicting.py:61
↓ 2 callersFunctiondetection_with_kmeans
Fast, but might not be able to map great for nonlinear separation of classes. :param image_set: The bottleneck values of the relevant images
predicting.py:25
↓ 2 callersMethodget_selection
(self)
gui_image_selector.py:186
↓ 2 callersFunctionmove_images
This function will move our detected images to the desired location. :param relocation_dir: The new location for our detected images. :pa
file_processing.py:52
↓ 1 callersFunctionadd_jpeg_decoding
Adds operations that perform JPEG decoding and resizing to the graph.. Args: input_width: Desired width of the image fed into the recognize
bottleneck.py:201
↓ 1 callersFunctioncreate_model_graph_bis
Creates a graph from saved GraphDef file and returns a Graph object. Args: model_info: Dictionary containing information about the model ar
bottleneck.py:175
↓ 1 callersFunctioncreate_model_info
Given the name of a model architecture, returns information about it. There are different base image recognition pretrained models that can be
bottleneck.py:24
↓ 1 callersFunctioncreate_noisy_bottlenecks
Function that will compute your botlleneck values from your selection of noisy data. :param image_dir: List of image dir location you want t
create_noise_bottlenecks.py:8
↓ 1 callersFunctionget_image_paths
A simple function that will find the paths of the detected images. :param image_dir: The location of the image directory. :param predicti
file_processing.py:32
↓ 1 callersFunctionget_relevant_image_paths
A function that returns the paths of images detected, and not yet processed. :param all_paths: Paths of all original, images :param alrea
file_processing.py:15
↓ 1 callersFunctiongrabbing_pollution
This function that will see if the pollution directory exist, and try to look a .npy file following the right naming scheme. :param arch
predicting.py:100
↓ 1 callersFunctionload_bottleneck
Function that will look if your label as already been transformed to bottleneck given a model, will register it or load, making it easy to ti
Test/testing_and_visualisation.py:298
↓ 1 callersFunctionmain
(_)
create_noise_bottlenecks.py:59
↓ 1 callersFunctionmain
(_)
image_set_cleaner.py:30
↓ 1 callersFunctionmain
(_)
Test/testing_and_visualisation.py:410
↓ 1 callersFunctionmaybe_download_and_extract
Download and extract model tar file. If the pretrained model we're using doesn't already exist, this function downloads it from the TensorFlo
bottleneck.py:120
↓ 1 callersMethodpopulate_grid
(self, paths)
gui_image_selector.py:173
↓ 1 callersFunctionrun_bottleneck_on_image
Runs inference on an image to extract the 'bottleneck' summary layer. Args: sess: Current active TensorFlow Session. image_data: Stri
bottleneck.py:230
↓ 1 callersMethodstylesheet
(self)
gui_image_selector.py:102
↓ 1 callersFunctionverify_input
This method will check the values given by the user. :param _: Parser :return: Nothing
create_noise_bottlenecks.py:45
↓ 1 callersFunctionverify_input
This method will check the values given by the user. :param _: Parser :return: Nothing
image_set_cleaner.py:10
Method__init__
(self, image_dir, image_set, paths, clustering_method, architecture, pollution_dir, pollution_percent, parent=
gui_image_selector.py:10
Method__init__
(self, path)
gui_image_selector.py:135
Function_progress
(count, block_size, total_size)
bottleneck.py:136
Functioncreate_model_graph
Creates a graph from saved GraphDef file and returns a Graph object. Args: model_info: Dictionary containing information about the model ar
bottleneck.py:150
Methoddelete_images
(self)
gui_image_selector.py:62
Functionget_nb_outlier
(ground_truth)
Test/testing_and_visualisation.py:47
Methodget_new_predictions
(self)
gui_image_selector.py:120
Functionget_scoring
:param predictions: Vector of labels given by the classifier :param ground_truth: Vector of labels of the data :return: accuracy, precis
Test/testing_and_visualisation.py:51
Functionmain
(_)
bottleneck.py:294
MethodmousePressEvent
(self, event)
gui_image_selector.py:145
Methodmove_images
(self)
gui_image_selector.py:78
Methodrestore_button
(self)
gui_image_selector.py:97
Functionsee_false_negative
Construct and display images that were mislabeled by our classifier :param image_set: Entire set of images :param predictions: Vector of
Test/testing_and_visualisation.py:388
Functionsee_false_positive
Construct and display images that were mislabeled by our classifier :param image_set: Entire set of images :param predictions: Vector of
Test/testing_and_visualisation.py:366