diff options
author | Vasil Zlatanov <v@skozl.com> | 2018-11-06 21:33:36 +0000 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2018-11-06 21:33:36 +0000 |
commit | f3067fecd3d66e4a21553dae484ce679b714140b (patch) | |
tree | 8be4ea2b381955e233bf1e1b3a63deabaa3e54f8 | |
parent | 96cfab1375e1b2a3f7af689fbd875c836832eb20 (diff) | |
download | vz215_np1915-f3067fecd3d66e4a21553dae484ce679b714140b.tar.gz vz215_np1915-f3067fecd3d66e4a21553dae484ce679b714140b.tar.bz2 vz215_np1915-f3067fecd3d66e4a21553dae484ce679b714140b.zip |
Ignore annoying warning
-rwxr-xr-x | train.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |