|
308 | 308 | "print(\"Failed data rows:\", task.failed_data_rows)" |
309 | 309 | ], |
310 | 310 | "cell_type": "code", |
311 | | - "outputs": [ |
312 | | - { |
313 | | - "name": "stderr", |
314 | | - "output_type": "stream", |
315 | | - "text": [ |
316 | | - "There are errors present. Please look at `task.errors` for more details\n" |
317 | | - ] |
318 | | - }, |
319 | | - { |
320 | | - "name": "stdout", |
321 | | - "output_type": "stream", |
322 | | - "text": [ |
323 | | - "Errors: Duplicate global keys found: 0801.3483.pdf\n", |
324 | | - "Failed data rows: [{'message': 'Duplicate global keys found: 0801.3483.pdf', 'failedDataRows': [{'globalKey': '0801.3483.pdf', 'rowData': 'https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/data/99-word-token-pdfs/0801.3483.pdf', 'attachmentInputs': [], 'mediaAttributes': {'textLayerUrl': 'https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/data/99-word-token-pdfs/0801.3483-lb-textlayer.json'}}]}]\n" |
325 | | - ] |
326 | | - } |
327 | | - ], |
| 311 | + "outputs": [], |
328 | 312 | "execution_count": null |
329 | 313 | }, |
330 | 314 | { |
|
452 | 436 | ")" |
453 | 437 | ], |
454 | 438 | "cell_type": "code", |
455 | | - "outputs": [ |
456 | | - { |
457 | | - "data": { |
458 | | - "text/plain": [ |
459 | | - "<Batch ID: eb670250-c749-11ed-a43b-3542d8b96bf7>" |
460 | | - ] |
461 | | - }, |
462 | | - "execution_count": 33, |
463 | | - "metadata": {}, |
464 | | - "output_type": "execute_result" |
465 | | - } |
466 | | - ], |
| 439 | + "outputs": [], |
467 | 440 | "execution_count": null |
468 | 441 | }, |
469 | 442 | { |
|
538 | 511 | " " |
539 | 512 | ], |
540 | 513 | "cell_type": "code", |
541 | | - "outputs": [ |
542 | | - { |
543 | | - "name": "stdout", |
544 | | - "output_type": "stream", |
545 | | - "text": [ |
546 | | - "entities_annotations_ndjson={'name': 'named_entity', 'textSelections': [{'groupId': '2f4336f4-a07e-4e0a-a9e1-5629b03b719b', 'tokenIds': ['3f984bf3-1d61-44f5-b59a-9658a2e3440f', '3bf00b56-ff12-4e52-8cc1-08dbddb3c3b8', '6e1c3420-d4b7-4c5a-8fd6-ead43bf73d80', '87a43d32-af76-4a1d-b262-5c5f4d5ace3a', 'e8606e8a-dfd9-4c49-a635-ad5c879c75d0', '67c7c19e-4654-425d-bf17-2adb8cf02c30', '149c5e80-3e07-49a7-ab2d-29ddfe6a38fa', 'b0e94071-2187-461e-8e76-96c58738a52c'], 'page': 1}]}\n", |
547 | | - "entities_annotation=confidence=None name='named_entity' feature_schema_id=None extra={} value=DocumentEntity(text_selections=[DocumentTextSelection(token_ids=['3f984bf3-1d61-44f5-b59a-9658a2e3440f', '3bf00b56-ff12-4e52-8cc1-08dbddb3c3b8', '6e1c3420-d4b7-4c5a-8fd6-ead43bf73d80', '87a43d32-af76-4a1d-b262-5c5f4d5ace3a', 'e8606e8a-dfd9-4c49-a635-ad5c879c75d0', '67c7c19e-4654-425d-bf17-2adb8cf02c30', '149c5e80-3e07-49a7-ab2d-29ddfe6a38fa', 'b0e94071-2187-461e-8e76-96c58738a52c'], group_id='2f4336f4-a07e-4e0a-a9e1-5629b03b719b', page=1)]) classifications=[]\n" |
548 | | - ] |
549 | | - } |
550 | | - ], |
| 514 | + "outputs": [], |
551 | 515 | "execution_count": null |
552 | 516 | }, |
553 | 517 | { |
|
643 | 607 | "print(\"Status of uploads: \", upload_job.statuses)" |
644 | 608 | ], |
645 | 609 | "cell_type": "code", |
646 | | - "outputs": [ |
647 | | - { |
648 | | - "name": "stdout", |
649 | | - "output_type": "stream", |
650 | | - "text": [ |
651 | | - "Errors: []\n", |
652 | | - "Status of uploads: [{'uuid': '262296fe-6877-432a-b12d-9c688f996f2c', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '1018a2d5-9e16-4a71-9bf4-58ab7f575a38', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '2755d3cd-5cfa-4022-be37-cf754734b8b0', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': 'ead202c6-d9d3-4f8a-9e2f-e42bb71573e2', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '5a586b1a-11f1-4f49-8aca-25cb2a39956c', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '17211b2a-abab-4d65-8ed6-585bbbca3483', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': 'c1a18383-df7c-4a72-9f45-917c8404af72', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}]\n" |
653 | | - ] |
654 | | - } |
655 | | - ], |
| 610 | + "outputs": [], |
656 | 611 | "execution_count": null |
657 | 612 | }, |
658 | 613 | { |
|
676 | 631 | "print(\"Status of uploads: \", upload_job.statuses)" |
677 | 632 | ], |
678 | 633 | "cell_type": "code", |
679 | | - "outputs": [ |
680 | | - { |
681 | | - "name": "stdout", |
682 | | - "output_type": "stream", |
683 | | - "text": [ |
684 | | - "Errors: []\n", |
685 | | - "Status of uploads: [{'uuid': 'bb0dbd33-4f7a-49b3-808a-a5d57563cc1a', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '32021451-e988-4e23-b526-46afd769bef3', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '2aaf89be-c02c-4d09-ae1a-097ff69de28a', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '80e57133-3bf5-4479-9301-be37dc634283', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': 'a4842956-f857-4c91-ba83-9ab5969159cb', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '38ee3c85-4762-4630-94d3-cf5fc10f9ce5', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}, {'uuid': '6ec97e39-b971-4a46-a591-efd0705e0817', 'dataRow': {'id': 'clfh1n29e1mh2078d3jt3b5cx', 'globalKey': '0801.3483.pdf'}, 'status': 'SUCCESS'}]\n" |
686 | | - ] |
687 | | - } |
688 | | - ], |
| 634 | + "outputs": [], |
689 | 635 | "execution_count": null |
690 | 636 | } |
691 | 637 | ] |
|
0 commit comments