broccoli-ml 0.4.3__py3-none-any.whl → 0.4.4__py3-none-any.whl

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.
broccoli/vit.py CHANGED
@@ -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
  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
@@ -10,8 +10,8 @@ broccoli/rope.py,sha256=hw7kBPNR9GQXj4GxyIAffsGKPfcTPOFh8Bc7oEHtaZY,12108
10
10
  broccoli/tensor.py,sha256=E2JK5mQwJf75e23-JGcDoT7QxQf89DJReUo2et1LhRY,1716
11
11
  broccoli/transformer.py,sha256=23R58t3TLZMb9ulhCtQ3gXu0mPlfyPvLM8TaGOpaz58,16310
12
12
  broccoli/utils.py,sha256=htq_hOsdhUhL0nJi9WkKiEYOjEoWqFpK5X49PtgTf-0,299
13
- broccoli/vit.py,sha256=s1QwZac3S-QjAFEujf0vDDMacYwr_aWE_1mFvFD18-4,14086
14
- broccoli_ml-0.4.3.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
- broccoli_ml-0.4.3.dist-info/METADATA,sha256=KzHrCtuxGAdNbi5ORjQg9KJSdgAK9OtcP6ubw3owZ9Q,1256
16
- broccoli_ml-0.4.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
- broccoli_ml-0.4.3.dist-info/RECORD,,
13
+ broccoli/vit.py,sha256=FQbdwNpvdqHreTdh_rK98sqhIrVVtn4L77EmNSvxXK0,14086
14
+ broccoli_ml-0.4.4.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
15
+ broccoli_ml-0.4.4.dist-info/METADATA,sha256=rsyvyeUbOLY_QLuC-klSHxaLVWZjfffKf2ugDuJXnR8,1256
16
+ broccoli_ml-0.4.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
17
+ broccoli_ml-0.4.4.dist-info/RECORD,,