nathanklineinstitute / macaque_auditory_thalamocortical_model_data Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I am attempting to run the demo version of the model with the command python init_demo.py
, which results in a error. There is also an error that is raised when validating the subConnParams. I tried investigating this error, but did not see any obvious discrepancies. I am running on a linux server using Python 3.9 and the development branch of NetPyNE. Here is the script output:
kedoxey@spike:~/CRCNS/Macaque_auditory_thalamocortical_model_data/model$ python init_demo.py
Warning: no DISPLAY environment variable.
--No graphics will be displayed.
Warning: could not import interactive plotting functions; make sure the "bokeh" package is installed.
Importing simConfig from cfg_demo.py
Importing netParams from netParams.py
Start time: 2024-02-07 16:59:35.641130
Validating NetParams ...
Error validating subConnParams:
Key 'TCM->E' error:
Key 'preConds' error:
Key 'cellType' error:
None
<lambda>(['TCM']) should evaluate to True
NetParams validation identified some potential issues in: subConnParams. See above for details.
Creating network of 43 cell populations on 1 hosts...
TypeError: float() argument must be a string or a number, not 'hoc.HocObject'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/kedoxey/CRCNS/Macaque_auditory_thalamocortical_model_data/model/init_demo.py", line 30, in <module>
sim.net.createCells() # instantiate network cells based on defined populations
File "/home/kedoxey/.conda/envs/python3_9-test/lib/python3.9/site-packages/netpyne/network/network.py", line 99, in createCells
newCells = ipop.createCells() # create cells for this pop using Pop method
File "/home/kedoxey/.conda/envs/python3_9-test/lib/python3.9/site-packages/netpyne/network/pop.py", line 87, in createCells
cells = self.createCellsDensity()
File "/home/kedoxey/.conda/envs/python3_9-test/lib/python3.9/site-packages/netpyne/network/pop.py", line 293, in createCellsDensity
randLocs = np.array(vec).reshape(self.tags['numCells'], 3) # create random x,y,z locations
ValueError: setting an array element with a sequence.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.