broccoli-ml 0.4.3__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: broccoli-ml
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Some useful Pytorch models, circa 2025
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -160,7 +160,7 @@ class DCTEncoder(nn.Module):
160
160
  if pooling_type in ["maxpool", None]:
161
161
  cnn_out_channels = transformer_embedding_size
162
162
  elif pooling_type == "concat":
163
- cnn_out_channels = min(
163
+ cnn_out_channels = max(
164
164
  math.floor(transformer_embedding_size / pooling_kernel_voxels),
165
165
  minimum_cnn_out_channels,
166
166
  )
@@ -333,8 +333,8 @@ class DCT(nn.Module):
333
333
  msa_dropout=0.1,
334
334
  stochastic_depth=0.1,
335
335
  batch_norm_outputs=True,
336
- linear_module=nn.Linear,
337
336
  initial_batch_norm=True,
337
+ linear_module=nn.Linear,
338
338
  image_classes=100,
339
339
  ):
340
340
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "broccoli-ml"
3
- version = "0.4.3"
3
+ version = "0.4.4"
4
4
  description = "Some useful Pytorch models, circa 2025"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes
File without changes