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

Examples have many dependency problems #195

Open lonnietc opened 1 month ago

lonnietc commented 1 month ago

Hello,

I really like what I have seen in BraonCog and am working with it more and more.

For this current learning period, I am trying to work my way through the examples but it seems that many of the imported packages have advanced and been updated since the time of most of your examples.

It is extremely hard to tell what versions of the required packages are needed so that the examples will run. Most of the examples are currently at least 2 years old so I had been trying to downgrade the imported packages to about that time frame but still have many problems and spend a LOT of time trying to guess as to what version of each package are needed.

Do you have any documentation beyond the original BrainCog estimated requirements a lot of things seem broken now due to package version changes and inconsistencies in those developments.

Thanks

sankethgadadinni commented 1 month ago

hi @lonnietc,

Use the below requirements.txt, it seems working for me

scipy == 1.8.0
h5py == 3.6.0
torch >= 1.10
torchvision >= 0.12.0
torchaudio >= 0.11.0
timm == 0.5.4
matplotlib == 3.5.1
einops == 0.4.1
thop >= 0.0.31
pyyaml == 6.0
loris == 0.5.3
pandas == 1.4.2
xlrd == 1.2.0
tonic
scikit-learn
matplotlib
seaborn
pygame
dv
tensorboard
numpy
lonnietc commented 1 month ago

Thanks, my friend and I will make sure that these are the ones that I use.

lonnietc commented 3 weeks ago

@sankethgadadinni I am working on setting up a new system. What version of Python are you using? Thanks

sankethgadadinni commented 3 weeks ago

@lonnietc I'm using 3.10 version.