Browse Source

use odd number version as unstable version

master
fangwei123456 1 week ago
parent
commit
e2aacded5d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      setup.py
  2. +1
    -1
      spikingjelly/datasets/__init__.py

+ 1
- 1
setup.py View File

@@ -54,7 +54,7 @@ with open("./README.md", "r", encoding="utf-8") as fh:
setup(
install_requires=install_requires,
name="spikingjelly",
version="0.0.0.0.4",
version="0.0.0.0.5",
author="PKU MLG, PCL, and other contributors",
author_email="fwei@pku.edu.cn, chyq@pku.edu.cn",
description="A deep learning framework for SNNs built on PyTorch.",


+ 1
- 1
spikingjelly/datasets/__init__.py View File

@@ -685,7 +685,7 @@ class NeuromorphicDatasetFolder(DatasetFolder):
if transform is None:
transform_with_padding = PadFrames(self.max_frames_number)
else:
transform_with_padding = transforms.Compose([PadFrames(self.max_frames_number), transform])
transform_with_padding = transforms.Compose([transform, PadFrames(self.max_frames_number)])

_root = frames_np_root
_loader = load_npz_frames


Loading…
Cancel
Save