Title: np.load of np.savez impossible to get values back out? · Issue #107 · SciSharp/Numpy.NET · GitHub
Open Graph Title: np.load of np.savez impossible to get values back out? · Issue #107 · SciSharp/Numpy.NET
X Title: np.load of np.savez impossible to get values back out? · Issue #107 · SciSharp/Numpy.NET
Description: after saving some arrays into a .npz archive like so Dictionary
Open Graph Description: after saving some arrays into a .npz archive like so Dictionary
X Description: after saving some arrays into a .npz archive like so Dictionary<string, NDarray> arrays = new Dictionary<string, NDarray>(); arrays["valueOne"] = valueOne; arrays["valueT...
Opengraph URL: https://github.com/SciSharp/Numpy.NET/issues/107
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"np.load of np.savez impossible to get values back out?","articleBody":"after saving some arrays into a .npz archive like so \r\n\r\n```c#\r\nDictionary\u003cstring, NDarray\u003e arrays = new Dictionary\u003cstring, NDarray\u003e();\r\narrays[\"valueOne\"] = valueOne;\r\narrays[\"valueTwo\"] = valueTwo;\r\n\r\nnp.savez_compressed(filename, null, arrays);\r\n```\r\n\r\nits impossible to get the values back out \r\n\r\n```c#\r\nvar archive = np.load(filename);\r\n\r\nvar valueOne = archive[\"valueOne\"];\r\nvar valueTwo = archive[\"valueTwo\"];\r\n```\r\n\r\nit just results in a `System.ArgumentException: 'Invalid slice notation'\r\n`","author":{"url":"https://github.com/jensroth-git","@type":"Person","name":"jensroth-git"},"datePublished":"2022-11-12T03:58:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/107/Numpy.NET/issues/107"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b129748-3122-7f72-153b-f09bb2fa29e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1BC:360CDD:3EA7D5C:53FA76D:696F2505 |
| html-safe-nonce | 2d27b808b7b4471f28a0b85b6afdcddc4448084f228f916a52c56ee1bfbf16cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUJDOjM2MENERDozRUE3RDVDOjUzRkE3NkQ6Njk2RjI1MDUiLCJ2aXNpdG9yX2lkIjoiODI1MDA0NDUyNzA3NDU1MTA0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a4cd5d94b6b90f5989402d46dfd45ecdde5a47ac4c1477cef0fb63e67e4202fd |
| hovercard-subject-tag | issue:1446228021 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SciSharp/Numpy.NET/107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b2fcb82acabfd5e37a2e1731164e1da96d686d5b01aee75a4aa000397b1107b4/SciSharp/Numpy.NET/issues/107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2fcb82acabfd5e37a2e1731164e1da96d686d5b01aee75a4aa000397b1107b4/SciSharp/Numpy.NET/issues/107 |
| og:image:alt | after saving some arrays into a .npz archive like so Dictionary |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jensroth-git |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/SciSharp/Numpy.NET git https://github.com/SciSharp/Numpy.NET.git |
| octolytics-dimension-user_id | 44989469 |
| octolytics-dimension-user_login | SciSharp |
| octolytics-dimension-repository_id | 189782132 |
| octolytics-dimension-repository_nwo | SciSharp/Numpy.NET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 189782132 |
| octolytics-dimension-repository_network_root_nwo | SciSharp/Numpy.NET |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width