aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2018-11-06 21:33:36 +0000
committerVasil Zlatanov <v@skozl.com>2018-11-06 21:33:36 +0000
commitf3067fecd3d66e4a21553dae484ce679b714140b (patch)
tree8be4ea2b381955e233bf1e1b3a63deabaa3e54f8
parent96cfab1375e1b2a3f7af689fbd875c836832eb20 (diff)
downloadvz215_np1915-f3067fecd3d66e4a21553dae484ce679b714140b.tar.gz
vz215_np1915-f3067fecd3d66e4a21553dae484ce679b714140b.tar.bz2
vz215_np1915-f3067fecd3d66e4a21553dae484ce679b714140b.zip
Ignore annoying warning
-rwxr-xr-xtrain.py5
1 files changed, 5 insertions, 0 deletions
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