Skip to content

Commit 2189926

Browse files
Merge pull request #356 from BindsNET/hananel
Update installation packages
2 parents 307ee5f + afb6ca5 commit 2189926

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Check out the [BindsNET experiments repository](https://github.com/djsaunde/bind
2121
## Setting things up
2222

2323
### Using pip
24-
BindsNET is available on PyPI. Issue
24+
BindsNET is available through its git repository. Issue
2525

2626
```
27-
pip install bindsnet
27+
pip install git+https://github.com/BindsNET/bindsnet.git
2828
```
2929

3030
to get the most recent stable release. Or, to build the `bindsnet` package from source, clone the GitHub repository, change directory to the top level of this project, and issue

bindsnet/network/topology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def __init__(
395395
self.padding = _pair(padding)
396396
self.dilation = _pair(dilation)
397397

398-
self.register_buffer("firing_rates", torch.ones(source.shape))
398+
self.register_buffer("firing_rates", torch.zeros(source.shape))
399399

400400
def compute(self, s: torch.Tensor) -> torch.Tensor:
401401
# language=rst

setup.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,18 @@
33
with open("README.md") as f:
44
long_description = f.read()
55

6-
version = "0.2.5"
7-
86
setup(
9-
name="bindsnet",
10-
version=version,
7+
name="BindsNET-pkg-Hananel",
8+
version = "0.2.5",
119
description="Spiking neural networks for ML in Python",
1210
license="AGPL-3.0",
1311
long_description=long_description,
1412
long_description_content_type="text/markdown", # This is important!
1513
url="http://github.com/Hananel-Hazan/bindsnet",
16-
author="Daniel Saunders, Hananel Hazan, Darpan Sanghavi, Hassaan Khan",
17-
author_email="[email protected]",
14+
author="Hananel Hazan, Daniel Saunders, Darpan Sanghavi, Hassaan Khan",
15+
author_email="[email protected]",
1816
packages=find_packages(),
1917
zip_safe=False,
20-
download_url="https://github.com/Hananel-Hazan/bindsnet/archive/%s.tar.gz"
21-
% version,
2218
install_requires=[
2319
"numpy>=1.14.2",
2420
"torch>=1.2.0",

0 commit comments

Comments
 (0)