From dc653302db07ccaa18e89dd2a9854e5a00cb4af6 Mon Sep 17 00:00:00 2001 From: deeppomf Date: Wed, 9 Oct 2019 23:05:09 -0400 Subject: [PATCH] Finalize DCP v2.2.0 --- main.py | 6 +----- model.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 707cbcc..5daa7cc 100644 --- a/main.py +++ b/main.py @@ -25,7 +25,7 @@ class MainWindow(QWidget): #Tutorial self.tutorialLabel = QLabel() - self.tutorialLabel.setText("Welcome to DeepCreamPy!\n\nIf you're new to DCP, please read the README.\nThis program does nothing without the proper setup of your images.") + self.tutorialLabel.setText("Welcome to DeepCreamPy!\n\nIf you're new to DCP, please read the README.\nThis program does nothing without the proper setup of your images.\n\nSince this is an alpha release, expect issues like crashing or freezing.\nReport them to me on Github or Twitter @deeppomf.") self.tutorialLabel.setAlignment(Qt.AlignCenter) self.tutorialLabel.setFont(QFont('Sans Serif', 13)) @@ -115,10 +115,6 @@ class MainWindow(QWidget): decensor.decensor_all_images_in_folder() - # self.progressCursor.insertText("--------------------------------------------------------------------------\nTo decensor a new batch of images, please close this program and reopen it.\nThis is because the developer encountered a hard-to-fix bug that messes up repeated use of the decensor button.\nThe bug will be fixed in a future update.") - # # time.sleep(3) - # # sys.exit() - self.decensorButton.setEnabled(True) # def showAbout(self): diff --git a/model.py b/model.py index 118d1c1..03cd347 100755 --- a/model.py +++ b/model.py @@ -4,7 +4,7 @@ import numpy as np import module as mm #suppress tensorflow deprecation warnings -tf.logging.set_verbosity(tf.logging.ERROR) +tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR) class InpaintNN():