Skip to content

Commit 2cfaf8a

Browse files
committed
Update BindsNET requirements to the new PyTorch version
1 parent ea88f10 commit 2cfaf8a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ repos:
33
rev: master
44
hooks:
55
- id: black
6-
language_version: python3.7
6+
language_version: python3.8

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
foolbox
22
scipy>=1.1.0
33
numpy>=1.14.2
4-
torch==1.4.0
5-
torchvision==0.5.0
4+
torch>=1.5.1
5+
torchvision>=0.6.1
66
tqdm>=4.19.9
77
setuptools>=39.0.1
88
matplotlib>=2.1.0

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
zip_safe=False,
1818
install_requires=[
1919
"numpy>=1.14.2",
20-
"torch==1.4.0",
21-
"torchvision==0.5.0",
20+
"torch>=1.5.1",
21+
"torchvision>=0.6.1",
2222
"tensorboardX>=1.7",
2323
"tqdm>=4.19.9",
2424
"matplotlib>=2.1.0",

0 commit comments

Comments
 (0)