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

SliceLocalization.p is unreadable #6

Open
malizheng opened this issue Jan 10, 2019 · 4 comments
Open

SliceLocalization.p is unreadable #6

malizheng opened this issue Jan 10, 2019 · 4 comments

Comments

@malizheng
Copy link

malizheng commented Jan 10, 2019

SliceLocalization. P is unreadable and always reports errors:
ValueError: insecure string pickle.
It was already dumped. Forget to close when saving:https://stackoverflow.com/questions/1746825/valueerror-insecure-string-pickle
Can you give a new one ?

@malizheng malizheng changed the title SliceLocalization. P is unreadable SliceLocalization.p is unreadable Jan 10, 2019
@kirthevasank
Copy link
Owner

I have replaced the file. Can you please check if it works now?

@malizheng
Copy link
Author

malizheng commented Jan 17, 2019

with open('SliceLocalization.p', 'rb') as pickle_file:
        data = cPickle.load(pickle_file)

it does not work. Still raise ValueError, "insecure string pickle". Is there the code for data processing or can you give a new one to try ? Thank you.

out = open('SliceLocalization.p', 'wb')
cPickle.dump(d, out)
Is  "out.close()" used ? # close it to make sure it's all been written

https://stackoverflow.com/questions/1746825/valueerror-insecure-string-pickle

@kirthevasank
Copy link
Owner

I've updated the datasets and put them here: http://www.cs.cmu.edu/~kkandasa/nasbot_datasets.html
The demos have also been updated with the updated links.

Please check if this works now.

@malizheng
Copy link
Author

I did not find the source code in the treeBO paper. Can you provide an implementation of the treeBO algorithm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants