Skip to content

Commit ffd58b6

Browse files
Merge pull request #652 from Labelbox/develop
3.25.2
2 parents a4f745d + 05530d2 commit ffd58b6

33 files changed

+753
-1477
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
# Version 3.25.2 (2022-07-26)
4+
## Updated
5+
* Mask downloads now have retries
6+
* Failed `upload_data` now shows more details in the error message
7+
8+
## Fixed
9+
* Fixed Metadata not importing with DataRows when bulk importing local files.
10+
* Fixed COCOConverter failing for empty annotations
11+
12+
## Documentation
13+
* Notebooks are up-to-date with examples of importing annotations without `schema_id`
14+
15+
# Version 3.25.1 (2022-07-20)
16+
## Fixed
17+
* Removed extra dependency causing import errors.
18+
319
# Version 3.25.0 (2022-07-20)
420

521
## Added

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
copyright = '2021, Labelbox'
2222
author = 'Labelbox'
2323

24-
release = '3.11.0'
24+
release = '3.25.1'
2525

2626
# -- General configuration ---------------------------------------------------
2727

docs/source/index.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,17 @@ AnnotationImport
181181
.. automodule:: labelbox.schema.annotation_import
182182
:members:
183183
:show-inheritance:
184+
185+
Batch
186+
----------------------------
187+
188+
.. automodule:: labelbox.schema.batch
189+
:members:
190+
:show-inheritance:
191+
192+
ResourceTag
193+
----------------------------
194+
195+
.. automodule:: labelbox.schema.resource_tag
196+
:members:
197+
:show-inheritance:

examples/annotation_import/basics.ipynb

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@
292292
"We will create a Label called mal_label which has the same original structure as the label above\n",
293293
"\n",
294294
"Notes:\n",
295-
"* Each label requires a valid feature schema id. We will assign it using our built in `assign_feature_schema_ids` method\n",
296295
"* the NDJsonConverter takes in a list of labels"
297296
]
298297
},
@@ -304,30 +303,13 @@
304303
"id": "10b19393-920a-45c8-9660-42d8c449b9c2",
305304
"outputId": "a93a39de-c8ed-402c-b834-304b1ba8854a"
306305
},
307-
"outputs": [
308-
{
309-
"data": {
310-
"text/plain": [
311-
"[{'uuid': 'fde1945b-01df-43c2-807a-3f5fa20450f4',\n",
312-
" 'dataRow': {'id': 'ckzocppkf96r10z9q205151c3'},\n",
313-
" 'schemaId': 'ckzocpq4l9bw20z9s9bc70h29',\n",
314-
" 'classifications': [],\n",
315-
" 'bbox': {'top': 30.0, 'left': 30.0, 'height': 170.0, 'width': 170.0}}]"
316-
]
317-
},
318-
"execution_count": 6,
319-
"metadata": {},
320-
"output_type": "execute_result"
321-
}
322-
],
306+
"outputs": [],
323307
"source": [
324308
"mal_label = Label(\n",
325309
" data=image_data,\n",
326310
" annotations = [rectangle_annotation]\n",
327311
")\n",
328312
"\n",
329-
"mal_label.assign_feature_schema_ids(ontology_builder.from_project(mal_project))\n",
330-
"\n",
331313
"ndjson_labels = list(NDJsonConverter.serialize([mal_label]))\n",
332314
"\n",
333315
"ndjson_labels"
@@ -397,10 +379,7 @@
397379
"id": "41d103bc-a5fd-4f0b-95f0-7e9bc59fbd07"
398380
},
399381
"source": [
400-
"Label import is very similar to model-assisted labeling. We will need to re-assign the feature schema before continuing, \n",
401-
"but we can continue to use our NDJSonConverter\n",
402-
"\n",
403-
"We will create a Label called li_label which has the same original structure as the label above"
382+
"Label import is very similar to model-assisted labeling. We will create a Label called li_label which has the same original structure as the label above"
404383
]
405384
},
406385
{
@@ -411,30 +390,13 @@
411390
"id": "c95716d5-a1ee-46fe-8dca-313ce10f104f",
412391
"outputId": "0e83d5d0-1f51-4903-c777-f9c331781656"
413392
},
414-
"outputs": [
415-
{
416-
"data": {
417-
"text/plain": [
418-
"[{'uuid': '7be8bb0b-39a2-44a5-96ab-5def3752811b',\n",
419-
" 'dataRow': {'id': 'ckzocppkf96r10z9q205151c3'},\n",
420-
" 'schemaId': 'ckzocpqv80ukp0z9l67cc6liv',\n",
421-
" 'classifications': [],\n",
422-
" 'bbox': {'top': 30.0, 'left': 30.0, 'height': 170.0, 'width': 170.0}}]"
423-
]
424-
},
425-
"execution_count": 9,
426-
"metadata": {},
427-
"output_type": "execute_result"
428-
}
429-
],
393+
"outputs": [],
430394
"source": [
431395
"li_label = Label(\n",
432396
" data=image_data,\n",
433397
" annotations = [rectangle_annotation]\n",
434398
")\n",
435399
"\n",
436-
"li_label.assign_feature_schema_ids(ontology_builder.from_project(li_project))\n",
437-
"\n",
438400
"ndjson_labels = list(NDJsonConverter.serialize([li_label]))\n",
439401
"\n",
440402
"ndjson_labels"

0 commit comments

Comments
 (0)