Numpy.NET
Numpy.NET copied to clipboard
np.load of np.savez impossible to get values back out?
after saving some arrays into a .npz archive like so
Dictionary<string, NDarray> arrays = new Dictionary<string, NDarray>();
arrays["valueOne"] = valueOne;
arrays["valueTwo"] = valueTwo;
np.savez_compressed(filename, null, arrays);
its impossible to get the values back out
var archive = np.load(filename);
var valueOne = archive["valueOne"];
var valueTwo = archive["valueTwo"];
it just results in a System.ArgumentException: 'Invalid slice notation'