BrainCog-X / Brain-Cog

Brain-inspired Cognitive Intelligence Engine (BrainCog) is a brain-inspired spiking neural network based platform for Brain-inspired Artificial Intelligence and simulating brains at multiple scales. The long term goal of BrainCog is to provide a comprehensive theory and system to decode the mechanisms and principles of human intelligence and its evolution, and develop artificial brains for brain-inspired conscious living AI in future Human-AI symbiotic Society.
http://www.brain-cog.network/
Apache License 2.0
448 stars 68 forks source link

Import class name error #98

Closed QianpengLi577 closed 1 year ago

QianpengLi577 commented 1 year ago

An error occurred while I was running brainSimMaq.py

/Brain-Cog/examples/Multiscale_Brain_Structure_Simulation/MacaqueBrain$ python3 brainSimMaq.py

ImportError: cannot import name 'IFNodev1' from 'braincog.base.node.node'

There is another issue, when I run /Brain-Cog/examples/Multiscale_Brain_Structure_Simulation/Mouse_brain/Mouse_model.py, cannot find ./mouse.mat

craree commented 1 year ago

IFNodev1 has been removed from braincog/base/node/node .py and you can replace it with other nodes in the node.py, such as IFNode, LIFNode. For Mouse_model.py, we have updated the code as well as the readme, and uploaded the corresponding files required for the code in the link to the readme. For the brain simulation part, our latest code has changed significantly from the previous version, and is currently being modified and will be uploaded as soon as possible.