Skip to content

np.load of np.savez impossible to get values back out? #107

Open
@jensroth-git

Description

@jensroth-git

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions