autogluon.multimodal 1.1.2b20240909__py3-none-any.whl → 1.1.2b20240910__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.
@@ -1334,13 +1334,19 @@ class BaseLearner(ExportMixin, DistillationMixin, RealtimeMixin):
1334
1334
  model=model,
1335
1335
  )
1336
1336
 
1337
+ best_score = (
1338
+ trainer.callback_metrics[f"val_{self._validation_metric_name}"].item()
1339
+ if f"val_{self._validation_metric_name}" in trainer.callback_metrics
1340
+ else self._best_score
1341
+ ) # https://github.com/autogluon/autogluon/issues/4428
1342
+
1337
1343
  return dict(
1338
1344
  config=config,
1339
1345
  df_preprocessor=df_preprocessor,
1340
1346
  data_processors=data_processors,
1341
1347
  model=model,
1342
1348
  model_postprocess_fn=model_postprocess_fn,
1343
- best_score=trainer.callback_metrics[f"val_{self._validation_metric_name}"].item(),
1349
+ best_score=best_score,
1344
1350
  strategy=strategy,
1345
1351
  strict_loading=not peft_param_names,
1346
1352
  )
@@ -1,3 +1,3 @@
1
1
  """This is the autogluon version file."""
2
- __version__ = '1.1.2b20240909'
2
+ __version__ = '1.1.2b20240910'
3
3
  __lite__ = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autogluon.multimodal
3
- Version: 1.1.2b20240909
3
+ Version: 1.1.2b20240910
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
@@ -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.2b20240909
60
- Requires-Dist: autogluon.features==1.1.2b20240909
61
- Requires-Dist: autogluon.common==1.1.2b20240909
59
+ Requires-Dist: autogluon.core[raytune]==1.1.2b20240910
60
+ Requires-Dist: autogluon.features==1.1.2b20240910
61
+ Requires-Dist: autogluon.common==1.1.2b20240910
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.2b20240909-py3.8-nspkg.pth,sha256=cQGwpuGPqg1GXscIwt-7PmME1OnSpD-7ixkikJ31WAY,554
1
+ autogluon.multimodal-1.1.2b20240910-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=XhtEUu0kyK5Uo-falsJo1baTl6qJCieJwFWyl92SAd8,90
8
+ autogluon/multimodal/version.py,sha256=aJqf_TmnSdWMb72Ls_fcsj25fj5Y0eTjfWAJVB8kQ60,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
@@ -67,7 +67,7 @@ autogluon/multimodal/data/process_mmlab/process_mmdet.py,sha256=K0d3o3j3cK37ocKk
67
67
  autogluon/multimodal/data/process_mmlab/process_mmlab_base.py,sha256=961gctp4XcW_qsl0b1dg7JUxf93mINGY49HsIIYQR9Y,6698
68
68
  autogluon/multimodal/data/process_mmlab/process_mmocr.py,sha256=ZdwmU65YmRgeSGFowDUTJvUZUWI0CLsUe87EcPG_gEs,3095
69
69
  autogluon/multimodal/learners/__init__.py,sha256=fCei0O1w79sNdirFgNrtWhFIJ-XUOQ2r9D8lQaIunt8,258
70
- autogluon/multimodal/learners/base.py,sha256=F9q3lSuE2TEEKsea33tojngmQKMxJRlCoCSlmOWC6o8,100566
70
+ autogluon/multimodal/learners/base.py,sha256=pGCc9giLiopZRGgBwx0bUswuDvSC7ogeQscUfMAQReE,100792
71
71
  autogluon/multimodal/learners/few_shot_svm.py,sha256=TXauhXr_2hWqaEwO8XhFxWRRPXDYxLpmmKYaCrxFWPM,23934
72
72
  autogluon/multimodal/learners/matching.py,sha256=vxKqRqe0_LYliEYepkL06CZUkzmCs7TnDTcxxp5TDCU,89849
73
73
  autogluon/multimodal/learners/ner.py,sha256=0VZl_Z1O98A5mOSw8Ee8F9foaCT684DT0j1ALx-8RU4,19035
@@ -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.2b20240909.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
139
- autogluon.multimodal-1.1.2b20240909.dist-info/METADATA,sha256=gKw3mYkfKfCW14gTtLXFInhGPh0Y-Cml49GgENqCPYs,12802
140
- autogluon.multimodal-1.1.2b20240909.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
141
- autogluon.multimodal-1.1.2b20240909.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
142
- autogluon.multimodal-1.1.2b20240909.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
143
- autogluon.multimodal-1.1.2b20240909.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
144
- autogluon.multimodal-1.1.2b20240909.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
145
- autogluon.multimodal-1.1.2b20240909.dist-info/RECORD,,
138
+ autogluon.multimodal-1.1.2b20240910.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
139
+ autogluon.multimodal-1.1.2b20240910.dist-info/METADATA,sha256=a430VltwxrhCKLMFYMVFdMwE1umpNxvSdQEQ9bnPU50,12802
140
+ autogluon.multimodal-1.1.2b20240910.dist-info/NOTICE,sha256=7nPQuj8Kp-uXsU0S5so3-2dNU5EctS5hDXvvzzehd7E,114
141
+ autogluon.multimodal-1.1.2b20240910.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
142
+ autogluon.multimodal-1.1.2b20240910.dist-info/namespace_packages.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
143
+ autogluon.multimodal-1.1.2b20240910.dist-info/top_level.txt,sha256=giERA4R78OkJf2ijn5slgjURlhRPzfLr7waIcGkzYAo,10
144
+ autogluon.multimodal-1.1.2b20240910.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
145
+ autogluon.multimodal-1.1.2b20240910.dist-info/RECORD,,