kirthevasank/nasbot

SliceLocalization.p is unreadable

malizheng opened this issue · 4 comments

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 ?

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

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

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.

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