diff --git a/ImageColorizer.ipynb b/ImageColorizer.ipynb index 42b0a1c0..2061b994 100644 --- a/ImageColorizer.ipynb +++ b/ImageColorizer.ipynb @@ -21,7 +21,9 @@ "source": [ "from deoldify.visualize import *\n", "plt.style.use('dark_background')\n", - "torch.backends.cudnn.benchmark=True" + "torch.backends.cudnn.benchmark=True\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=UserWarning, message=\".*?Your .*? set is empty.*?\")" ] }, { @@ -140,7 +142,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.0" + "version": "3.7.6" }, "toc": { "colors": { diff --git a/ImageColorizerArtisticTests.ipynb b/ImageColorizerArtisticTests.ipynb index b8a2b805..43de2d03 100644 --- a/ImageColorizerArtisticTests.ipynb +++ b/ImageColorizerArtisticTests.ipynb @@ -20,7 +20,9 @@ "outputs": [], "source": [ "from deoldify.visualize import *\n", - "plt.style.use('dark_background')" + "plt.style.use('dark_background')\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=UserWarning, message=\".*?Your .*? set is empty.*?\")" ] }, { @@ -3285,7 +3287,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.0" + "version": "3.7.6" }, "toc": { "colors": { diff --git a/ImageColorizerColab.ipynb b/ImageColorizerColab.ipynb index d01b90a3..4f448805 100644 --- a/ImageColorizerColab.ipynb +++ b/ImageColorizerColab.ipynb @@ -144,7 +144,9 @@ "outputs": [], "source": [ "import fastai\n", - "from deoldify.visualize import *" + "from deoldify.visualize import *\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=UserWarning, message=\".*?Your .*? set is empty.*?\")" ] }, { diff --git a/ImageColorizerStableTests.ipynb b/ImageColorizerStableTests.ipynb index 3ddeacd1..64117a40 100644 --- a/ImageColorizerStableTests.ipynb +++ b/ImageColorizerStableTests.ipynb @@ -20,7 +20,9 @@ "outputs": [], "source": [ "from deoldify.visualize import *\n", - "plt.style.use('dark_background')" + "plt.style.use('dark_background')\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=UserWarning, message=\".*?Your .*? set is empty.*?\")" ] }, { diff --git a/VideoColorizer.ipynb b/VideoColorizer.ipynb index 516304f0..7b33a5a3 100644 --- a/VideoColorizer.ipynb +++ b/VideoColorizer.ipynb @@ -20,7 +20,9 @@ "outputs": [], "source": [ "from deoldify.visualize import *\n", - "plt.style.use('dark_background')" + "plt.style.use('dark_background')\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=UserWarning, message=\".*?Your .*? set is empty.*?\")" ] }, { @@ -146,7 +148,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.0" + "version": "3.7.6" }, "toc": { "colors": { diff --git a/VideoColorizerColab.ipynb b/VideoColorizerColab.ipynb index 39dd8fe8..92ae1999 100644 --- a/VideoColorizerColab.ipynb +++ b/VideoColorizerColab.ipynb @@ -151,7 +151,9 @@ "import fastai\n", "from deoldify.visualize import *\n", "from pathlib import Path\n", - "torch.backends.cudnn.benchmark=True" + "torch.backends.cudnn.benchmark=True\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=UserWarning, message=\".*?Your .*? set is empty.*?\")" ] }, {