autogluon.multimodal 1.1.2b20240829__py3-none-any.whl → 1.1.2b20240830__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.
@@ -306,6 +306,10 @@ class MultiModalFeaturePreprocessor(TransformerMixin, BaseEstimator):
306
306
  if self._fit_x_called:
307
307
  raise RuntimeError("fit_x() has been called. Please create a new preprocessor and call it again!")
308
308
  self._fit_x_called = True
309
+ # Creating deep copy of the DataFrame, which allows writable buffer to be created for the new df
310
+ # This is needed for 1.4.1 < scikit-learn < 1.5.0, the versions 1.4.0 and 1.5.1 do not need a writable buffer
311
+ X = X.copy(deep=True)
312
+ X.flags.writeable = True
309
313
 
310
314
  for col_name in sorted(X.columns):
311
315
  # Just in case X accidentally contains the label column
@@ -378,6 +382,10 @@ class MultiModalFeaturePreprocessor(TransformerMixin, BaseEstimator):
378
382
  if self._fit_y_called:
379
383
  raise RuntimeError("fit_y() has been called. Please create a new preprocessor and call it again!")
380
384
  self._fit_y_called = True
385
+ # Creating deep copy of the DataFrame, which allows writable buffer to be created for the new df
386
+ # This is needed for 1.4.1 < scikit-learn < 1.5.0, the versions 1.4.0 and 1.5.1 do not need a writable buffer
387
+ y = y.copy(deep=True)
388
+ y.flags.writeable = True
381
389
  logger.debug(f'Process col "{self._label_column}" with type label')
382
390
  if self.label_type == CATEGORICAL:
383
391
  self._label_generator.fit(y)
@@ -739,6 +747,10 @@ class MultiModalFeaturePreprocessor(TransformerMixin, BaseEstimator):
739
747
  assert (
740
748
  self._fit_called or self._fit_y_called
741
749
  ), "You will need to first call preprocessor.fit_y() before calling preprocessor.transform_label."
750
+ # Creating deep copy of the DataFrame, which allows writable buffer to be created for the new df
751
+ # This is needed for 1.4.1 < scikit-learn < 1.5.0, versions <=1.4.0 and >=1.5.1 do not need a writable buffer
752
+ df = df.copy(deep=True)
753
+ df.flags.writeable = True
742
754
  y_df = df[self._label_column]
743
755
  if self.label_type == CATEGORICAL:
744
756
  y = self._label_generator.transform(y_df).astype(np.int64)
@@ -1,3 +1,3 @@
1
1
  """This is the autogluon version file."""
2
- __version__ = '1.1.2b20240829'
2
+ __version__ = '1.1.2b20240830'
3
3
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.multimodal
3
- Version: 1.1.2b20240829
3
+ Version: 1.1.2b20240830
4
4
  Summary: Fast and Accurate ML in 3 Lines of Code
5
5
  Home-page: https://github.com/autogluon/autogluon
6
6
  Author: AutoGluon Community
@@ -37,7 +37,7 @@ Description-Content-Type: text/markdown
37
37
  Requires-Dist: numpy<1.29,>=1.21
38
38
  Requires-Dist: scipy<1.13,>=1.5.4
39
39
  Requires-Dist: pandas<2.3.0,>=2.0.0
40
- Requires-Dist: scikit-learn<1.4.1,>=1.3.0
40
+ Requires-Dist: scikit-learn<1.5.2,>=1.4.0
41
41
  Requires-Dist: Pillow<11,>=10.0.1
42
42
  Requires-Dist: tqdm<5,>=4.38
43
43
  Requires-Dist: boto3<2,>=1.10
@@ -56,9 +56,9 @@ Requires-Dist: text-unidecode<1.4,>=1.3
56
56
  Requires-Dist: torchmetrics<1.3.0,>=1.2.0
57
57
  Requires-Dist: nptyping<2.5.0,>=1.4.4
58
58
  Requires-Dist: omegaconf<2.3.0,>=2.1.1
59
- Requires-Dist: autogluon.core[raytune]==1.1.2b20240829
60
- Requires-Dist: autogluon.features==1.1.2b20240829
61
- Requires-Dist: autogluon.common==1.1.2b20240829
59
+ Requires-Dist: autogluon.core[raytune]==1.1.2b20240830
60
+ Requires-Dist: autogluon.features==1.1.2b20240830
61
+ Requires-Dist: autogluon.common==1.1.2b20240830
62
62
  Requires-Dist: pytorch-metric-learning<2.4,>=1.3.0
63
63
  Requires-Dist: nlpaug<1.2.0,>=1.1.10
64
64
  Requires-Dist: nltk<4.0.0,>=3.4.5
@@ -1,11 +1,11 @@
1
- autogluon.multimodal-1.1.2b20240829-py3.8-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.multimodal-1.1.2b20240830-py3.8-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
2
2
  autogluon/multimodal/__init__.py,sha256=EuWb-QmtFBKePJw4_4Kpp9dKrabv121haYw_Oiu2jfI,238
3
3
  autogluon/multimodal/constants.py,sha256=lFA03ZQeZlp8mwuXLuMOgeByljV5wPYBjN_hi6Xc8zg,8498
4
4
  autogluon/multimodal/predictor.py,sha256=VTJGcKH4Kktdm4Qq2x9oRThpfp6w_kFSjJOmQPsmB5g,40654
5
5
  autogluon/multimodal/presets.py,sha256=VR_arn7X4eiQcGcvJVmwxDopPJGvYP1W1cBZ2AOcdJM,25882
6
6
  autogluon/multimodal/problem_types.py,sha256=JPSoV3Fg-NGQansRlyT2bPZG3iIkgWo7eB8oDoAfg90,9201
7
7
  autogluon/multimodal/registry.py,sha256=vqvONWweZP44aBo1jCvlqLdL0Agn2kyTK8uXUwagZhs,3670
8
- autogluon/multimodal/version.py,sha256=OcdyaSBHzJAefdxk8vHxVEq3W5viLXsDSeqSQhQz9cY,90
8
+ autogluon/multimodal/version.py,sha256=Q-sx8RhPTsSp7y6VfzkWVQlP5wcYtO7HnkH6pXe3apM,90
9
9
  autogluon/multimodal/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  autogluon/multimodal/cli/prepare_detection_dataset.py,sha256=9NCYmCUMPRWbxxbN_C7YQjMYlrAm8gbwJ3Qd-79JWH4,5218
11
11
  autogluon/multimodal/cli/voc2coco.py,sha256=LXVu9RIfOZs_1URrzO-_3Nrvb9uGEgPxCY4-B6m1coc,9605
@@ -46,7 +46,7 @@ autogluon/multimodal/data/dataset.py,sha256=1RRQmbIkKW6DB8Zno6QRnE-EL3sL5yfwQNBK
46
46
  autogluon/multimodal/data/infer_types.py,sha256=dRG7FQIfza0jtBHvqOq_P3FNnMFkfZK9IoKaGU2vMc4,27306
47
47
  autogluon/multimodal/data/label_encoder.py,sha256=lLlBWYJTQJ42nMRSvrRHMdSOsK9E46s6ynbxzR2TMJo,10599
48
48
  autogluon/multimodal/data/mixup.py,sha256=zYj3tgKxE25868bbBuQEiAZnch-yHR5bqJWk9cI9kFc,7388
49
- autogluon/multimodal/data/preprocess_dataframe.py,sha256=sENmZe6ql9AYEMjcR86jJmAHIZtPvq9V9buU7LY34Fo,34197
49
+ autogluon/multimodal/data/preprocess_dataframe.py,sha256=OyczOx98EVfetZev0M10R5jJhX5zGAt3rO-sG0_t_Tg,35058
50
50
  autogluon/multimodal/data/process_categorical.py,sha256=tG0i4AO5rm5K5LQfBlE2F2r_8O08vrcORSam_UJ0BDk,3597
51
51
  autogluon/multimodal/data/process_document.py,sha256=UkDjGTzwGj2j8yA8UW2ZR_LT2p0gTQ7PpxSrMFqYJTo,14345
52
52
  autogluon/multimodal/data/process_image.py,sha256=DLC8PKlBl83LTUN3uj99n3JteSydsuwCeKYRb7QfGa0,13939
@@ -135,11 +135,11 @@ autogluon/multimodal/utils/object_detection.py,sha256=EjLPzmq8Ge_HAtibiY5FNOChL_
135
135
  autogluon/multimodal/utils/onnx.py,sha256=rblWnphKTsfbosbieJu8PsH6SMDw4on9BS8bR1plL2U,5607
136
136
  autogluon/multimodal/utils/save.py,sha256=zYIO3mYMGBvHfZcmCUaLpsQa14nVq1LPv2F76uaz89w,3951
137
137
  autogluon/multimodal/utils/visualizer.py,sha256=qAc4_36r3MBDPq1R1jBeb_gcfzIrsylL1S31sRf3wuw,22562
138
- autogluon.multimodal-1.1.2b20240829.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
139
- autogluon.multimodal-1.1.2b20240829.dist-info/METADATA,sha256=8p74OAJ98kx00WzthiVQafnIUDAm5dxjLcddv_ruQP4,12802
140
- autogluon.multimodal-1.1.2b20240829.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
141
- autogluon.multimodal-1.1.2b20240829.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
142
- autogluon.multimodal-1.1.2b20240829.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
143
- autogluon.multimodal-1.1.2b20240829.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
144
- autogluon.multimodal-1.1.2b20240829.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
145
- autogluon.multimodal-1.1.2b20240829.dist-info/RECORD,,
138
+ autogluon.multimodal-1.1.2b20240830.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
139
+ autogluon.multimodal-1.1.2b20240830.dist-info/METADATA,sha256=afosAxXet4GOfdw2urIgZ-1vFWsrBQvxmTWR_4UB_QM,12802
140
+ autogluon.multimodal-1.1.2b20240830.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
141
+ autogluon.multimodal-1.1.2b20240830.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
142
+ autogluon.multimodal-1.1.2b20240830.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
143
+ autogluon.multimodal-1.1.2b20240830.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
144
+ autogluon.multimodal-1.1.2b20240830.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
145
+ autogluon.multimodal-1.1.2b20240830.dist-info/RECORD,,