My problem is the following:
I have two .p (pickle files) in my bucket in the google cloud storage and I would like to load them on my jupyter notebook (where I run my code on the VM instance).
I tried the following
url = "http:\\<localhost>\tree\storage.googleapis.com\<bucket-name>"
data_x = pickle.load(open(url + "\<filename>.p", "rb" ))
but it said that there is no such file or directory. I have also tried to create a public link on the google storage with no success. I managed to load .mat files and .pts files that way but I can't seem to be able to load the .p file.
There was a similar question posted here: pickling python objects to google cloud storage
but it is depreciated and I did not manage to use the answer.
This is also a resource that could be useful: https://pypi.python.org/pypi/google-cloud-storage
Thanks a lot for you help!!