nasbot icon indicating copy to clipboard operation
nasbot copied to clipboard

SliceLocalization.p is unreadable

Open malizheng opened this issue 6 years ago • 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 ?

malizheng avatar Jan 10 '19 07:01 malizheng

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

kirthevasank avatar Jan 16 '19 16:01 kirthevasank

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

malizheng avatar Jan 17 '19 13:01 malizheng

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.

kirthevasank avatar Jan 28 '19 20:01 kirthevasank

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

malizheng avatar Mar 20 '19 02:03 malizheng