569305e77b02632e215ef9df99de87dc6da8879b,decensor.py,Decensor,decensor_all_images_in_folder,#Decensor#,45

Before Change


                        print("Check if it exists and is in the PNG or JPG format.")
                else:
                    self.decensor_image(colored_img, colored_img, file_name)
            elif not file_name.startswith("."): // warn if not a PNG, but ignore .gitkeep
                print("--------------------------------------------------------------------------")
                print("Unsupported file type (not a PNG): {}".format(color_file_path))
        print("--------------------------------------------------------------------------")

After Change


        input_dir = self.args.decensor_input_path
        output_dir = self.args.decensor_output_path
        
        file_names, self.files_removed = file.check_file( input_dir, output_dir, False)

        //convert all images into np arrays and put them in a list
        for file_name in file_names:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: deeppomf/DeepCreamPy
Commit Name: 569305e77b02632e215ef9df99de87dc6da8879b
Time: 2019-04-22
Author: 46418312+ccppoo@users.noreply.github.com
File Name: decensor.py
Class Name: Decensor
Method Name: decensor_all_images_in_folder


Project Name: sebp/scikit-survival
Commit Name: 6ee5c2fe401a74789757a9ccc70dddee902d29dd
Time: 2019-04-28
Author: sebp@k-d-w.org
File Name: tests/test_metrics.py
Class Name:
Method Name: uno_auc_data


Project Name: pyinstaller/pyinstaller
Commit Name: 7d03cf1db48fc82a127d67ccc6fb0b4f10a02587
Time: 2020-08-30
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py
Class Name:
Method Name: _freeze_support