We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c131d commit 7d6eb88Copy full SHA for 7d6eb88
labelbox/schema/model_run.py
@@ -152,10 +152,14 @@ def upsert_predictions_and_send_to_project(
152
])
153
mea_to_mal_data_rows = list(
154
mea_to_mal_data_rows_set)[:DATAROWS_IMPORT_LIMIT]
155
+ logger.warning(
156
+ f"Got {len(mea_to_mal_data_rows_set)} data rows to import, trimmed down to {DATAROWS_IMPORT_LIMIT} data rows"
157
+ )
158
+
159
batch = project.create_batch(name, mea_to_mal_data_rows, priority)
160
mal_prediction_import = Entity.MALPredictionImport.create_for_model_run_data_rows(
161
data_row_ids=mea_to_mal_data_rows, project_id=project_id, **kwargs)
- return mea_prediction_import, batch, mal_prediction_import
162
+ return import_job, batch, mal_prediction_import
163
164
def add_predictions(
165
self,
0 commit comments