diff --git a/.gitignore b/.gitignore index 28517adb..02d41b4b 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ test/analysis/__pycache__/* dist/* logs/* .pytest_cache/* +.vscode/* +data/* diff --git a/README.md b/README.md index eed41b22..8d6eea5a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Check out the [BindsNET examples](https://github.com/BindsNET/bindsnet/tree/mast ## Requirements -- Python >=3.8.10,<3.10.4 +- Python >=3.8.10,<3.11 ## Setting things up diff --git a/bindsnet/learning/learning.py b/bindsnet/learning/learning.py index 35739d6e..cc026eaf 100644 --- a/bindsnet/learning/learning.py +++ b/bindsnet/learning/learning.py @@ -475,7 +475,7 @@ def _conv2d_connection_update(self, **kwargs) -> None: pre = self.reduction( torch.bmm(target_x, source_s.permute((0, 2, 1))), dim=0 ) - print(self.nu[0].shape, self.connection.w.size()) + # print(self.nu[0].shape, self.connection.w.size()) self.connection.w -= self.nu[0] * pre.view(self.connection.w.size()) # Post-synaptic update. @@ -535,7 +535,7 @@ def _conv3d_connection_update(self, **kwargs) -> None: ) ) target_s = self.target.s.view(batch_size, out_channels, -1).float() - print(target_x.shape, source_s.shape, self.connection.w.shape) + # print(target_x.shape, source_s.shape, self.connection.w.shape) # Pre-synaptic update. if self.nu[0].any(): diff --git a/pyproject.toml b/pyproject.toml index edb28ecc..9b1e13a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ documentation = "https://bindsnet-docs.readthedocs.io/" keywords = ["spiking", "neural", "networks", "pytorch"] [tool.poetry.dependencies] -python = ">=3.8,<3.10.4" +python = ">=3.8,<3.11" numpy = "^1.23.1" scipy = "^1.8.1" Cython = "^0.29.24"