SpikeInterface / MEArec

Fast and customizable of extracellular recordings on MEA
GNU General Public License v3.0
42 stars 19 forks source link

Numpy error #133

Closed YawendeLumicks closed 1 year ago

YawendeLumicks commented 1 year ago

Dear Alessio,

I hope all is well. I have been successfully using MEArec on my PC for a couple months now and everything is working great. However, to generate a big dataset (512 electrodes, 512 cells, 300 seconds) I need more processing power. Thus I decided to use google collab pro+. Template and recording generation is working well after installation, but when I try to save them in .h5 format, I get the following error in the image. I have tried running the code with Numpy 1.24, 1.20.3 and 1.19, but all lead to the same error. Would you have any tips on how to fix this? Thank you in advance. Kind regards, Yawende

image

YawendeLumicks commented 1 year ago

Hi Alessio, The issue lay with numpy version 1.24.2. Apparently mr.save_template_generator() does not work with this version. I downgraded to numpy 1.20.3 and it worked. in google colab you apparently have to restart the terminal before it uses the downgraded numpy version.