Skip to content

Commit 7649763

Browse files
committed
small update to remove unnecessary libs
1 parent 4e74128 commit 7649763

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

labelbox/data/serialization/ndjson/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from .metric import NDScalarMetric, NDMetricAnnotation, NDConfusionMatrixMetric
1818
from .classification import NDChecklistSubclass, NDClassification, NDClassificationType, NDRadioSubclass
19-
from .objects import NDObject, NDObjectType, NDFrameObjectType, NDSegments
19+
from .objects import NDObject, NDObjectType, NDSegments
2020

2121

2222
class NDLabel(BaseModel):

labelbox/data/serialization/ndjson/objects.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,6 @@ def from_common(
290290

291291
#if it is video segments
292292
if (obj == NDSegments):
293-
#TODO: need to process segments' classifications
294-
#unsure if here or will be elsewhere
295-
296293
return obj.from_common(
297294
annotation,
298295
data,

0 commit comments

Comments
 (0)