Skip to content

Commit

Permalink
upd dependency and fix FutureWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
vpozdnyakov committed Aug 4, 2024
1 parent 4c3e43a commit 04a3bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fdd_defense/models/tcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ def __init__(
dilation=(dilation_base**nr_blocks_below),
)
if weight_norm:
self.conv1, self.conv2 = nn.utils.weight_norm(
self.conv1, self.conv2 = nn.utils.parametrizations.weight_norm(
self.conv1
), nn.utils.weight_norm(self.conv2)
), nn.utils.parametrizations.weight_norm(self.conv2)

if input_dim != output_dim:
self.conv3 = nn.Conv1d(input_dim, output_dim, 1)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ pandas = "*"
scikit-learn = "*"
tqdm = "*"
fddbenchmark = { git = "https://github.com/airi-industrial-ai/fddbenchmark.git" }
catboost = "1.1.1"
catboost = "1.2.5"
numpy = "< 2.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 04a3bf8

Please sign in to comment.