Skip to content

Commit 650e749

Browse files
committed
removal of extra spaces and some additional getpasses
1 parent 376ed20 commit 650e749

File tree

15 files changed

+164
-196
lines changed

15 files changed

+164
-196
lines changed

examples/annotation_types/basics.ipynb

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
"from PIL import Image\n",
9393
"from io import BytesIO\n",
9494
"import numpy as np\n",
95-
"from getpass import getpass\n",
9695
"import os"
9796
]
9897
},
@@ -1247,38 +1246,6 @@
12471246
"dataset.delete()\n",
12481247
"project.delete()"
12491248
]
1250-
},
1251-
{
1252-
"cell_type": "code",
1253-
"execution_count": 44,
1254-
"id": "liberal-programming",
1255-
"metadata": {},
1256-
"outputs": [],
1257-
"source": []
1258-
},
1259-
{
1260-
"cell_type": "code",
1261-
"execution_count": 45,
1262-
"id": "searching-theorem",
1263-
"metadata": {},
1264-
"outputs": [],
1265-
"source": []
1266-
},
1267-
{
1268-
"cell_type": "code",
1269-
"execution_count": 46,
1270-
"id": "progressive-courage",
1271-
"metadata": {},
1272-
"outputs": [],
1273-
"source": []
1274-
},
1275-
{
1276-
"cell_type": "code",
1277-
"execution_count": 47,
1278-
"id": "asian-album",
1279-
"metadata": {},
1280-
"outputs": [],
1281-
"source": []
12821249
}
12831250
],
12841251
"metadata": {

examples/annotation_types/converters.ipynb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"import IPython\n",
7070
"import numpy as np\n",
7171
"from PIL import Image\n",
72-
"from getpass import getpass\n",
7372
"import os\n",
7473
"import cv2"
7574
]
@@ -554,14 +553,6 @@
554553
"source": [
555554
"* See how this is used with mal in the `mal_using_annotation_types.ipynb` notebook"
556555
]
557-
},
558-
{
559-
"cell_type": "code",
560-
"execution_count": 13,
561-
"id": "placed-danger",
562-
"metadata": {},
563-
"outputs": [],
564-
"source": []
565556
}
566557
],
567558
"metadata": {

examples/annotation_types/label_containers.ipynb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
" ClassificationAnnotation)\n",
6868
"import requests\n",
6969
"import numpy as np\n",
70-
"from getpass import getpass\n",
7170
"import os"
7271
]
7372
},
@@ -594,22 +593,6 @@
594593
"dataset.delete()\n",
595594
"project.delete()"
596595
]
597-
},
598-
{
599-
"cell_type": "code",
600-
"execution_count": 27,
601-
"id": "accepted-merchandise",
602-
"metadata": {},
603-
"outputs": [],
604-
"source": []
605-
},
606-
{
607-
"cell_type": "code",
608-
"execution_count": 28,
609-
"id": "foreign-berkeley",
610-
"metadata": {},
611-
"outputs": [],
612-
"source": []
613596
}
614597
],
615598
"metadata": {

examples/basics/basics.ipynb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -406,14 +406,6 @@
406406
"* We reccomend using bulk operations where possible.\n",
407407
"* You can find specific deletion instructions in tutorials on each object."
408408
]
409-
},
410-
{
411-
"cell_type": "code",
412-
"execution_count": 16,
413-
"id": "thirty-interval",
414-
"metadata": {},
415-
"outputs": [],
416-
"source": []
417409
}
418410
],
419411
"metadata": {

examples/label_export/images.ipynb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,6 @@
178178
" thickness=5)\n",
179179
"Image.fromarray(image_np.astype(np.uint8))"
180180
]
181-
},
182-
{
183-
"cell_type": "code",
184-
"execution_count": 9,
185-
"id": "disabled-friend",
186-
"metadata": {},
187-
"outputs": [],
188-
"source": []
189181
}
190182
],
191183
"metadata": {

examples/label_export/text.ipynb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
"metadata": {},
4343
"outputs": [],
4444
"source": [
45-
"!pip install labelbox\n",
46-
"!pip install requests"
45+
"!pip install labelbox"
4746
]
4847
},
4948
{
@@ -309,14 +308,6 @@
309308
"source": [
310309
"Counter(orgs)"
311310
]
312-
},
313-
{
314-
"cell_type": "code",
315-
"execution_count": 14,
316-
"id": "abandoned-knight",
317-
"metadata": {},
318-
"outputs": [],
319-
"source": []
320311
}
321312
],
322313
"metadata": {

examples/label_export/video.ipynb

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,12 @@
3737
},
3838
{
3939
"cell_type": "code",
40-
"execution_count": 1,
40+
"execution_count": null,
4141
"id": "located-egyptian",
4242
"metadata": {},
4343
"outputs": [],
4444
"source": [
45-
"!pip install labelbox\n",
46-
"!pip install numpy\n",
47-
"!pip install matplotlib\n",
48-
"!pip install ipython"
45+
"!pip install -q labelbox numpy matplotlib ipython"
4946
]
5047
},
5148
{
@@ -349,30 +346,6 @@
349346
" clear_output(wait=True)\n",
350347
" image = image[:, :, ::-1]"
351348
]
352-
},
353-
{
354-
"cell_type": "code",
355-
"execution_count": 16,
356-
"id": "aware-april",
357-
"metadata": {},
358-
"outputs": [],
359-
"source": []
360-
},
361-
{
362-
"cell_type": "code",
363-
"execution_count": 17,
364-
"id": "steady-siemens",
365-
"metadata": {},
366-
"outputs": [],
367-
"source": []
368-
},
369-
{
370-
"cell_type": "code",
371-
"execution_count": 18,
372-
"id": "hourly-seafood",
373-
"metadata": {},
374-
"outputs": [],
375-
"source": []
376349
}
377350
],
378351
"metadata": {
@@ -391,7 +364,7 @@
391364
"name": "python",
392365
"nbconvert_exporter": "python",
393366
"pygments_lexer": "ipython3",
394-
"version": "3.8.2"
367+
"version": "3.9.2"
395368
}
396369
},
397370
"nbformat": 4,

examples/model_assisted_labeling/image_mal.ipynb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,6 @@
509509
}
510510
],
511511
"source": []
512-
},
513-
{
514-
"cell_type": "code",
515-
"execution_count": 18,
516-
"id": "missing-decline",
517-
"metadata": {},
518-
"outputs": [],
519-
"source": []
520512
}
521513
],
522514
"metadata": {

examples/model_assisted_labeling/mal_with_subclasses.ipynb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -465,14 +465,6 @@
465465
"source": [
466466
"#We can see that the upload worked. Although our heuristic or the model made a mistake."
467467
]
468-
},
469-
{
470-
"cell_type": "code",
471-
"execution_count": 20,
472-
"id": "coral-excitement",
473-
"metadata": {},
474-
"outputs": [],
475-
"source": []
476468
}
477469
],
478470
"metadata": {

examples/model_assisted_labeling/ner_mal.ipynb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@
5151
}
5252
],
5353
"source": [
54-
"!pip -q install labelbox\n",
55-
"!pip -q install flair\n",
56-
"!pip -q install wikipedia-api\n",
54+
"!pip -q install labelbox flair wikipedia-api\n",
5755
"# ** Install will take a while **"
5856
]
5957
},
@@ -314,14 +312,6 @@
314312
}
315313
],
316314
"source": []
317-
},
318-
{
319-
"cell_type": "code",
320-
"execution_count": 16,
321-
"id": "latin-display",
322-
"metadata": {},
323-
"outputs": [],
324-
"source": []
325315
}
326316
],
327317
"metadata": {

0 commit comments

Comments
 (0)