kirthevasank / nasbot

Neural Architecture Search with Bayesian Optimisation and Optimal Transport
MIT License
133 stars 26 forks source link

SliceLocalization.p is unreadable #6

Open malizheng opened 5 years ago

malizheng commented 5 years ago

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 ?

kirthevasank commented 5 years ago

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

malizheng commented 5 years ago
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 commented 5 years ago

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 commented 5 years ago

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