Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pickle error with nonlinear Gaussian tests #86

Closed
michaeldeistler opened this issue Mar 23, 2020 · 2 comments
Closed

Pickle error with nonlinear Gaussian tests #86

michaeldeistler opened this issue Mar 23, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@michaeldeistler
Copy link
Contributor

Problem: On MacOS (don't know about linux), I can not load the ground truth samples for the nonlinear Gaussian, getting the error: ValueError: Cannot load file containing pickled data when allow_pickle=False. When I explicitly set allow_pickle=True, I get that the npy file could not be identified as a pickle file.

@michaeldeistler michaeldeistler changed the title Pickle error with nonlinear Gaussian Pickle error with nonlinear Gaussian tests Mar 23, 2020
@janfb
Copy link
Contributor

janfb commented Mar 23, 2020

We could save the target_samples as .npy array and load them using np.load?

Thats actually the case, so does loading with np work?

@alvorithm alvorithm added the bug Something isn't working label Mar 23, 2020
@jan-matthis
Copy link
Contributor

We will get around this annoying bug by storing ground truth samples using torch.save/.load. For SLCP, we are still discussing regarding generating ground truth in the benchmarks channel. Once this is settled, I'll add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants