INM-6 / multi-area-model

A large-scale spiking model of the vision-related areas of macaque cortex.
Other
71 stars 48 forks source link

Some confusion in plotting figures #27

Closed zhengliuer closed 3 years ago

zhengliuer commented 3 years ago

Hi, I was trying to implement the Fig5, so I downloaded the data from here, and define the variable original_data_path in `config.py'. image However, when I run the code, I've got an error:

TypeError: Not supported. Please store the matrix in a binary numpy file and define the path to the file as the parameter value

The error coms from the line 107 M = MultiAreaModel({}) The OS is ubuntu cluster.

jarsi commented 3 years ago

Hi, the error arises in this line. Line 135 checks whether K_stable is None. The way that the multi-area model is instantiated in the figure 5 code, this if clause should hold True. You pass an empty dict, thus the parameters should be taken from the default_params.py file. K_stable is defined here, and it is set to None by default. There has previously been an error, it used to be set to False, see this commit.

Is your code up to date, what is the default value for K_stable for you?

zhengliuer commented 3 years ago

Hi, The value of K_stable in the default_params.py is None. image

zhengliuer commented 3 years ago

Sorry, I just found the version I used , the value of K_stable is False

jarsi commented 3 years ago

No worries, glad I could help. Can I close this issue?

zhengliuer commented 3 years ago

Absolutely.