Skip to content

Commit ecd682e

Browse files
authored
Uncomment confidence score for polyline.
A patch to allow for confidence score in python annotation tools for polyline has been deployed.
1 parent cf40801 commit ecd682e

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

examples/prediction_upload/image_predictions.ipynb

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"metadata": {
9797
"id": "cm8xMaLbGb7v"
9898
},
99-
"execution_count": 600,
99+
"execution_count": 627,
100100
"outputs": []
101101
},
102102
{
@@ -119,7 +119,7 @@
119119
"metadata": {
120120
"id": "NIq-6M9kHKSs"
121121
},
122-
"execution_count": 601,
122+
"execution_count": 628,
123123
"outputs": []
124124
},
125125
{
@@ -141,7 +141,7 @@
141141
"metadata": {
142142
"id": "z7ZLKLYLHP__"
143143
},
144-
"execution_count": 602,
144+
"execution_count": 629,
145145
"outputs": []
146146
},
147147
{
@@ -173,7 +173,7 @@
173173
"metadata": {
174174
"id": "v5wL6oojz9Ge"
175175
},
176-
"execution_count": 603,
176+
"execution_count": 630,
177177
"outputs": []
178178
},
179179
{
@@ -229,7 +229,7 @@
229229
"metadata": {
230230
"id": "I75K-wx7_sDs"
231231
},
232-
"execution_count": 604,
232+
"execution_count": 631,
233233
"outputs": []
234234
},
235235
{
@@ -266,7 +266,7 @@
266266
"metadata": {
267267
"id": "b2UjSoYez9I1"
268268
},
269-
"execution_count": 605,
269+
"execution_count": 632,
270270
"outputs": []
271271
},
272272
{
@@ -301,7 +301,7 @@
301301
"metadata": {
302302
"id": "xCU4JRP0z9Nh"
303303
},
304-
"execution_count": 606,
304+
"execution_count": 633,
305305
"outputs": []
306306
},
307307
{
@@ -346,7 +346,7 @@
346346
"metadata": {
347347
"id": "gAIzsxEjLmhv"
348348
},
349-
"execution_count": 607,
349+
"execution_count": 634,
350350
"outputs": []
351351
},
352352
{
@@ -394,7 +394,7 @@
394394
"metadata": {
395395
"id": "jRwfE4MFz9Ph"
396396
},
397-
"execution_count": 608,
397+
"execution_count": 635,
398398
"outputs": []
399399
},
400400
{
@@ -417,7 +417,7 @@
417417
"metadata": {
418418
"id": "PBB37YpWTiVR"
419419
},
420-
"execution_count": 609,
420+
"execution_count": 636,
421421
"outputs": []
422422
},
423423
{
@@ -461,7 +461,7 @@
461461
"metadata": {
462462
"id": "39vz-tYsz9Ry"
463463
},
464-
"execution_count": 610,
464+
"execution_count": 637,
465465
"outputs": []
466466
},
467467
{
@@ -488,7 +488,7 @@
488488
"metadata": {
489489
"id": "UelSiWN2z9Tg"
490490
},
491-
"execution_count": 611,
491+
"execution_count": 638,
492492
"outputs": []
493493
},
494494
{
@@ -501,7 +501,7 @@
501501
"\n",
502502
"polyline_prediction = ObjectAnnotation(\n",
503503
" name = \"polyline\", # must match your ontology feature's name\n",
504-
" # confidence=0.5, ## Not supported for python annotation tools\n",
504+
" confidence=0.5, ## Not supported for python annotation tools\n",
505505
" value=Line( # Coordinates for the keypoints in your polyline\n",
506506
" points=[Point(x=2534.353, y=249.471),Point(x=2429.492, y=182.092),Point(x=2294.322, y=221.962),Point(x=2224.491, y=180.463),Point(x=2136.123, y=204.716),\n",
507507
" Point(x=1712.247, y=173.949),Point(x=1703.838, y=84.438),Point(x=1579.772, y=82.61),Point(x=1583.442, y=167.552),\n",
@@ -544,7 +544,7 @@
544544
"metadata": {
545545
"id": "mrjb8qY3z9VY"
546546
},
547-
"execution_count": 612,
547+
"execution_count": 639,
548548
"outputs": []
549549
},
550550
{
@@ -573,24 +573,24 @@
573573
"colab": {
574574
"base_uri": "https://localhost:8080/"
575575
},
576-
"outputId": "58f7cf62-5f30-468b-c83c-58b65a2d10c6"
576+
"outputId": "d7a3afdd-f2e7-4602-a0c7-0c6cbe2938f2"
577577
},
578-
"execution_count": 613,
578+
"execution_count": 640,
579579
"outputs": [
580580
{
581581
"output_type": "stream",
582582
"name": "stdout",
583583
"text": [
584584
"<DataRow {\n",
585-
" \"created_at\": \"2023-01-23 22:25:37+00:00\",\n",
585+
" \"created_at\": \"2023-01-23 22:38:32+00:00\",\n",
586586
" \"external_id\": null,\n",
587-
" \"global_key\": \"ee11f0bd-1521-4808-98a0-80d1d6b480c2\",\n",
587+
" \"global_key\": \"3fd7d61a-5aba-47c1-afba-12498818c7b2\",\n",
588588
" \"media_attributes\": {},\n",
589589
" \"metadata\": [],\n",
590590
" \"metadata_fields\": [],\n",
591591
" \"row_data\": \"https://raw.githubusercontent.com/Labelbox/labelbox-python/develop/examples/assets/2560px-Kitano_Street_Kobe01s5s4110.jpg\",\n",
592-
" \"uid\": \"cld9dndmr0jvm07zadrm54yps\",\n",
593-
" \"updated_at\": \"2023-01-23 22:25:37+00:00\"\n",
592+
" \"uid\": \"cld9e3z430mgy072abell3l7a\",\n",
593+
" \"updated_at\": \"2023-01-23 22:38:32+00:00\"\n",
594594
"}>\n"
595595
]
596596
}
@@ -698,7 +698,7 @@
698698
"metadata": {
699699
"id": "Kt4XWWqgIiWk"
700700
},
701-
"execution_count": 614,
701+
"execution_count": 641,
702702
"outputs": []
703703
},
704704
{
@@ -722,7 +722,7 @@
722722
"metadata": {
723723
"id": "8n-AvzdiOR6d"
724724
},
725-
"execution_count": 615,
725+
"execution_count": 642,
726726
"outputs": []
727727
},
728728
{
@@ -744,9 +744,9 @@
744744
"colab": {
745745
"base_uri": "https://localhost:8080/"
746746
},
747-
"outputId": "5c546b9b-1336-4192-9815-8120e7b53122"
747+
"outputId": "88d69ffb-77f0-4dde-abcb-1addd1ae5ab5"
748748
},
749-
"execution_count": 616,
749+
"execution_count": 643,
750750
"outputs": [
751751
{
752752
"output_type": "execute_result",
@@ -756,7 +756,7 @@
756756
]
757757
},
758758
"metadata": {},
759-
"execution_count": 616
759+
"execution_count": 643
760760
}
761761
]
762762
},
@@ -800,7 +800,7 @@
800800
"metadata": {
801801
"id": "zv2OLTXKSGWv"
802802
},
803-
"execution_count": 617,
803+
"execution_count": 644,
804804
"outputs": []
805805
},
806806
{
@@ -840,7 +840,7 @@
840840
"metadata": {
841841
"id": "F-Y7sSyAV3tn"
842842
},
843-
"execution_count": 618,
843+
"execution_count": 645,
844844
"outputs": []
845845
},
846846
{
@@ -868,9 +868,9 @@
868868
"colab": {
869869
"base_uri": "https://localhost:8080/"
870870
},
871-
"outputId": "9dedec2e-f24a-4800-8b54-48af9d293c07"
871+
"outputId": "8eccb11b-fb9e-41d7-a823-7b70b842ffef"
872872
},
873-
"execution_count": 619,
873+
"execution_count": 646,
874874
"outputs": [
875875
{
876876
"output_type": "stream",
@@ -916,7 +916,7 @@
916916
"metadata": {
917917
"id": "jEtoDiDrPFvI"
918918
},
919-
"execution_count": 620,
919+
"execution_count": 647,
920920
"outputs": []
921921
},
922922
{
@@ -942,19 +942,19 @@
942942
"colab": {
943943
"base_uri": "https://localhost:8080/"
944944
},
945-
"outputId": "d7d38c81-42f6-40a4-f73f-2bf3d6de54b2"
945+
"outputId": "bd2f36fa-6b97-4b08-b4ce-fe48802fcdf3"
946946
},
947-
"execution_count": 621,
947+
"execution_count": 648,
948948
"outputs": [
949949
{
950950
"output_type": "execute_result",
951951
"data": {
952952
"text/plain": [
953-
"<Batch ID: e850b510-9b6c-11ed-8544-b36fddead9b4>"
953+
"<Batch ID: b5633900-9b6e-11ed-bd27-9dc8c0fce61f>"
954954
]
955955
},
956956
"metadata": {},
957-
"execution_count": 621
957+
"execution_count": 648
958958
}
959959
]
960960
},
@@ -1104,7 +1104,7 @@
11041104
"metadata": {
11051105
"id": "A8_HVvu9Uvfl"
11061106
},
1107-
"execution_count": 622,
1107+
"execution_count": 649,
11081108
"outputs": []
11091109
},
11101110
{
@@ -1143,7 +1143,7 @@
11431143
"metadata": {
11441144
"id": "9gD_alThQA3G"
11451145
},
1146-
"execution_count": 623,
1146+
"execution_count": 650,
11471147
"outputs": []
11481148
},
11491149
{
@@ -1173,9 +1173,9 @@
11731173
"colab": {
11741174
"base_uri": "https://localhost:8080/"
11751175
},
1176-
"outputId": "ea4cce4e-dab0-4ee6-857d-f5c3deff7e6a"
1176+
"outputId": "88d42583-2892-490f-8497-3016bdeacf44"
11771177
},
1178-
"execution_count": 624,
1178+
"execution_count": 651,
11791179
"outputs": [
11801180
{
11811181
"output_type": "stream",
@@ -1207,9 +1207,9 @@
12071207
"colab": {
12081208
"base_uri": "https://localhost:8080/"
12091209
},
1210-
"outputId": "9c40b5e4-3828-4d65-895d-641e5024aff7"
1210+
"outputId": "5237736c-ec9a-4381-c5d5-14362637bf43"
12111211
},
1212-
"execution_count": 625,
1212+
"execution_count": 652,
12131213
"outputs": [
12141214
{
12151215
"output_type": "execute_result",
@@ -1219,7 +1219,7 @@
12191219
]
12201220
},
12211221
"metadata": {},
1222-
"execution_count": 625
1222+
"execution_count": 652
12231223
}
12241224
]
12251225
},
@@ -1242,7 +1242,7 @@
12421242
"metadata": {
12431243
"id": "aAhkyvJlWK1p"
12441244
},
1245-
"execution_count": 626,
1245+
"execution_count": 653,
12461246
"outputs": []
12471247
}
12481248
]

0 commit comments

Comments
 (0)