Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3cd043d
poetry update
Hananel-Hazan Feb 12, 2024
77b6bdb
poetry update
Hananel-Hazan Feb 15, 2024
9fee1ac
poetry update
Hananel-Hazan Feb 16, 2024
29b1e50
Update torch and torchvision versions
Hananel-Hazan Feb 16, 2024
68e667d
poetry update
Hananel-Hazan Feb 20, 2024
629a0e8
poetryupdate
Hananel-Hazan Feb 22, 2024
0e4fd52
poetry update
Hananel-Hazan Mar 4, 2024
0e9666f
deprecate python 3.8
Hananel-Hazan Mar 5, 2024
e998b45
poetry update
Hananel-Hazan Mar 12, 2024
beed4d1
poetry update
Hananel-Hazan Mar 21, 2024
49a4d9c
Fix import error in collate.py to python 3.10+
Hananel-Hazan Mar 21, 2024
6b960ab
Update filelock and nbconvert versions
Hananel-Hazan Mar 28, 2024
d194f5f
Merge branch 'master' into hananel
Hananel-Hazan Mar 29, 2024
2ac5bf2
deprecation python 3.8 welcome 3.11
Hananel-Hazan Mar 29, 2024
ff705ff
pytorch 2.2.2
Hananel-Hazan Mar 29, 2024
4f22df2
Update torchvision import in dataset wrapper
Hananel-Hazan Mar 29, 2024
84f256a
Pytorch CUDA update in poetry
Hananel-Hazan Mar 29, 2024
b0528a3
Update torch, torchvision, and torchaudio versions
Hananel-Hazan Mar 29, 2024
f4163fe
Addting Dale's rule to the base connection object
Hananel-Hazan Mar 29, 2024
cf3e29f
Fix bug in login functionality
Hananel-Hazan Apr 3, 2024
77c3569
poetry update
Hananel-Hazan Apr 11, 2024
dae38f8
poetry update
Hananel-Hazan Apr 15, 2024
30cb3e7
poetry update
Hananel-Hazan Apr 18, 2024
7e9d8e5
poetry update
Hananel-Hazan Apr 19, 2024
e544c4d
Merge remote-tracking branch 'origin' into hananel
Hananel-Hazan May 10, 2024
c506494
poetry update
Hananel-Hazan May 10, 2024
6b9c089
poetry update
Hananel-Hazan May 15, 2024
8f2b951
poetry update
Hananel-Hazan May 17, 2024
b7a1608
poetry update
Hananel-Hazan May 21, 2024
811df7d
poetry update
Hananel-Hazan May 22, 2024
d8000ee
chore: Update jinja2 dependency to version 3.1.4
Hananel-Hazan May 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update torchvision import in dataset wrapper
  • Loading branch information
Hananel-Hazan committed Mar 29, 2024
commit 4f22df20e7ca17b7e2b8b54f6740fd28d66c9adf
4 changes: 2 additions & 2 deletions bindsnet/datasets/torchvision_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Dict, Optional

import torch
import torchvision
from torchvision import datasets as torchDB

from bindsnet.encoding import Encoder, NullEncoder

Expand All @@ -13,7 +13,7 @@ def create_torchvision_dataset_wrapper(ds_type):
``__getitem__``. This applies to all of the datasets inside of ``torchvision``.
"""
if type(ds_type) == str:
ds_type = getattr(torchvision.datasets, ds_type)
ds_type = getattr(torchDB, ds_type)

class TorchvisionDatasetWrapper(ds_type):
__doc__ = (
Expand Down