f5a1b34066c4b2e2a7c2f2a40a89744846d1d50c,decensor.py,Decensor,load_model,#Decensor#,71

Before Change


        return mask

    def load_model(self):
        self.signals.update_progress_LABEL.emit("load_model()", "Loading neural network. This may take a while.")
        self.model = InpaintNN(bar_model_name = "./models/bar/Train_775000.meta",
                               bar_checkpoint_name = "./models/bar/",
                               mosaic_model_name = "./models/mosaic/Train_290000.meta",
                               mosaic_checkpoint_name = "./models/mosaic/",

After Change


        return mask

    def load_model(self):
        self.signals.insertText_progressCursor.emit("Loading model ... please wait ...\n")
        if self.model is None :
            self.model = InpaintNN(bar_model_name = "./models/bar/Train_775000.meta",
                                   bar_checkpoint_name = "./models/bar/",
                                   mosaic_model_name = "./models/mosaic/Train_290000.meta",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: deeppomf/DeepCreamPy
Commit Name: f5a1b34066c4b2e2a7c2f2a40a89744846d1d50c
Time: 2020-01-02
Author: shmishmi79@gmail.com
File Name: decensor.py
Class Name: Decensor
Method Name: load_model


Project Name: deeppomf/DeepCreamPy
Commit Name: f5a1b34066c4b2e2a7c2f2a40a89744846d1d50c
Time: 2020-01-02
Author: shmishmi79@gmail.com
File Name: decensor.py
Class Name: Decensor
Method Name: decensor_image_variation


Project Name: deeppomf/DeepCreamPy
Commit Name: f5a1b34066c4b2e2a7c2f2a40a89744846d1d50c
Time: 2020-01-02
Author: shmishmi79@gmail.com
File Name: decensor.py
Class Name: Decensor
Method Name: decensor_all_images_in_folder