Logo

View the Project on GitHub elements-storage/elements-sdk-swift

AIDatasetWithPreview

Properties

Name Type Description Notes
id UUID    
trainingModel AIModel   [optional]
lastFinishedModel AIModel   [optional]
lastChange Date   [readonly]
imageCount Int   [readonly]
sampleAnnotations [AIAnnotation] categories = AICategory.objects.filter(dataset=obj).prefetch_related('annotations').annotate(first_annotation_id=Min('annotations__id'))[:10] sample_annotations = AIAnnotation.objects.filter(id__in=[x.first_annotation_id for x in categories]) return AIAnnotationSerializer(sample_annotations, many=True).data [readonly]
name String    
type String   [optional]
connection Int    

[Back to Model list] [Back to API list] [Back to README]