cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
313 stars 157 forks source link

An error has occurred (Value Error): Cannot load file containing pickled data when allow_pickle=False #1063

Open miguel-cmiranda opened 3 years ago

miguel-cmiranda commented 3 years ago

Hi! I have question. I load my last phy session as usual but I got this error:

"An error has occurred (Value Error): Cannot load file containing pickled data when allow_pickle=False".

Also if I try to open the spike_clusters.npy file using np.load then I have the following error:

"Cannot load file containing pickled data when allow_pickle=False"

If afterwards I use allow_pickle = 'true', then I have

"Failed to interpret file 'spike_clusters.npy' as a pickle".

Miguel

miguel-cmiranda commented 3 years ago

OK. The spike_cluster.npy file was empty. I guess I run out of memory? (I only had 4 GB of memory available)

Best

Miguel