Comments (4)
I'm unable to replicate this error, can you guide me how to replicate?
from bindsnet.
I'm unable to replicate this error, can you guide me how to replicate?
@Hananel-Hazan to replicate this error, you would need to install a fresh install of bindsnet using: pip install git+https://github.com/BindsNET/bindsnet.git
and run pytest...
(bindsnet) [********@login1 [kelvin2] bindsnet]$ python3 -m pytest test
==================================================================== test session starts =====================================================================
platform linux -- Python 3.10.11, pytest-7.3.2, pluggy-1.2.0
rootdir: /users/********/bindsnet
collected 12 items / 3 errors
=========================================================================== ERRORS ===========================================================================
______________________________________________________ ERROR collecting test/analysis/test_analyzers.py ______________________________________________________
ImportError while importing test module '/users/********/bindsnet/test/analysis/test_analyzers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/mnt/scratch2/users/********/conda/envs/bindsnet/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test/analysis/test_analyzers.py:6: in <module>
from bindsnet.analysis.pipeline_analysis import MatplotlibAnalyzer, TensorboardAnalyzer
bindsnet/__init__.py:3: in <module>
from bindsnet import (
bindsnet/datasets/__init__.py:2: in <module>
from bindsnet.datasets.collate import time_aware_collate
bindsnet/datasets/collate.py:13: in <module>
from torch._six import string_classes
E ModuleNotFoundError: No module named 'torch._six'
______________________________________________________ ERROR collecting test/encoding/test_encoding.py _______________________________________________________
ImportError while importing test module '/users/dharkin/bindsnet/test/encoding/test_encoding.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/mnt/scratch2/users/********/conda/envs/bindsnet/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test/encoding/test_encoding.py:3: in <module>
from bindsnet.encoding import *
bindsnet/__init__.py:3: in <module>
from bindsnet import (
bindsnet/datasets/__init__.py:2: in <module>
from bindsnet.datasets.collate import time_aware_collate
bindsnet/datasets/collate.py:13: in <module>
from torch._six import string_classes
E ModuleNotFoundError: No module named 'torch._six'
________________________________________________________ ERROR collecting test/models/test_models.py _________________________________________________________
ImportError while importing test module '/users/dharkin/bindsnet/test/models/test_models.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/mnt/scratch2/users/********/conda/envs/bindsnet/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test/models/test_models.py:1: in <module>
from bindsnet.models import DiehlAndCook2015, TwoLayerNetwork
bindsnet/__init__.py:3: in <module>
from bindsnet import (
bindsnet/datasets/__init__.py:2: in <module>
from bindsnet.datasets.collate import time_aware_collate
bindsnet/datasets/collate.py:13: in <module>
from torch._six import string_classes
E ModuleNotFoundError: No module named 'torch._six'
================================================================== short test summary info ===================================================================
ERROR test/analysis/test_analyzers.py
ERROR test/encoding/test_encoding.py
ERROR test/models/test_models.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================ 3 errors in 72.48s (0:01:12) ================================================================
from bindsnet.
Thanks for elaborating.
I suspect that the installed BindsNET (3.1.2) and the version saved on the disk (running the tests) are not the same versions.
Can you please check this.
If you want to use the version on your disk, install it with pip install -e .
from bindsnet.
Hi @Hananel-Hazan, I think the issue was on my end. I was running pytest on the wrong installation folder. It now seems to be working fine.
from bindsnet.
Related Issues (20)
- Has anyone manage to make one of the RL examples to work? HOT 2
- Saving, loading, and performing prediction from supervised examples HOT 1
- Is there any way to use BindsNet on RTX 3090? HOT 1
- 'bindsnet' is not recognized as an internal or external command, operable program or batch file. HOT 2
- How would I run this type of setup? HOT 2
- Reservoir issues!
- Network converted from ANN doesn't retain weights after training? HOT 3
- Question: Can it be used for speech emotion recognition task? HOT 1
- Does the `poisson` function under-produce spikes? HOT 13
- THE DEAD NEURON PROBLEM HOT 14
- ModuleNotFoundError: No module named 'torch._six' HOT 5
- Is SingleEncoder timing-based? HOT 7
- Are learning rules such as gradient descent available? HOT 1
- Columns and DataType Not Explicitly Set on line 18 of plot_benchmark.py
- How backpropagation work? HOT 6
- Using bindsnet for temperature prediction? HOT 1
- bug in examples/breakout HOT 2
- Regarding Inhibitory Neurons and Excitatory Neurons Under Dale's Rule HOT 2
- The weight of the Connection cannot be updated using STDP rules based on the one-step running network mode in BindsNET HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindsnet.