From 054acff3c142c147e3b5801a13347f04c56f0eb5 Mon Sep 17 00:00:00 2001
From: Jean-Marc Valin <jmvalin@jmvalin.ca>
Date: Sat, 3 Nov 2018 02:49:44 -0400
Subject: [PATCH] missing script

---
 training/txt2hdf5.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 training/txt2hdf5.py

diff --git a/training/txt2hdf5.py b/training/txt2hdf5.py
new file mode 100755
index 000000000..9c602877e
--- /dev/null
+++ b/training/txt2hdf5.py
@@ -0,0 +1,12 @@
+#!/usr/bin/python
+
+from __future__ import print_function
+
+import numpy as np
+import h5py
+import sys
+
+data = np.loadtxt(sys.argv[1], dtype='float32')
+h5f = h5py.File(sys.argv[2], 'w');
+h5f.create_dataset('data', data=data)
+h5f.close()
-- 
GitLab