From 6ebcbf4cae7cbeea6f1ceb23d4187829adc42b73 Mon Sep 17 00:00:00 2001 From: angerhang <514140809@qq.com> Date: Tue, 25 Apr 2023 18:20:42 +0100 Subject: [PATCH] update version number --- hubconf.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hubconf.py b/hubconf.py index fb22169..8cf3aeb 100644 --- a/hubconf.py +++ b/hubconf.py @@ -18,7 +18,7 @@ def sleepnet(pretrained=True, my_device="cpu", num_classes=2, lstm_nn_size=128, if pretrained: checkpoint = 'https://github.com/OxWearables/asleep/' \ - 'releases/download/0.0.2/bi_sleepnet.mdl' + 'releases/download/0.0.3/bi_sleepnet.mdl' model.load_state_dict( torch.hub.load_state_dict_from_url( checkpoint, diff --git a/pyproject.toml b/pyproject.toml index 80a132f..3518f77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ name = "asleep" # Required # # For a discussion on single-sourcing the version, see # https://packaging.python.org/guides/single-sourcing-package-version/ -version = "0.2.0" # Required +version = "0.3.0" # Required # This is a one-line description or tagline of what your project does. This # corresponds to the "Summary" metadata field: