Skip to content

Commit

Permalink
Solved problem with default top module in ShiHaotian. Closes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
nacheteam committed Nov 8, 2023
1 parent 3bd3867 commit 201836a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,15 @@ latest versions.
- Deprecated:
- Removed:
- Fixed:

1.0.7.5 (8 Nov 2023)
======================
**Description**

Fixed error with ShiHaotian model in Pytorch and top module. Solved and reported in issue #3.

- Added:
- Changed:
- Deprecated:
- Removed:
- Fixed: ShiHaotian model in Pytorch had a default top module behavior
2 changes: 0 additions & 2 deletions TSFEDL/models_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2227,8 +2227,6 @@ def __init__(self,
**kwargs
):
super(ShiHaotian, self).__init__(in_features, top_module, loss, metrics, optimizer, **kwargs)
if self.classifier is None:
self.classifier = ShiHaotian_Classifier(7904, 5, in_features)

self.convolutions1 = nn.Sequential(
nn.Conv1d(in_channels=in_features, out_channels=32, kernel_size=13, stride=2, bias=True, padding="valid"),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
name='TSFEDL',

# Version
version='1.0.7.4',
version='1.0.7.5',

# Description
description='Time Series Spatio-Temporal Feature Extraction using Deep Learning',
Expand Down

0 comments on commit 201836a

Please sign in to comment.