From f3067fecd3d66e4a21553dae484ce679b714140b Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 6 Nov 2018 21:33:36 +0000 Subject: Ignore annoying warning --- train.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/train.py b/train.py index 91fe483..bcf921c 100755 --- a/train.py +++ b/train.py @@ -4,6 +4,11 @@ # # usage: train.py [-h] -i DATA -o MODEL [-m M] +import warnings +with warnings.catch_warnings(): + warnings.filterwarnings("ignore", category=DeprecationWarning) + import imp + import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import sys -- cgit v1.2.3-54-g00ecf