mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 03:36:31 +00:00
Separate installers to Full and Iterative
This commit is contained in:
@@ -103,17 +103,18 @@ public partial class DatasetExplorer
|
||||
.Concat(_annotationConfig.DetectionClasses));
|
||||
LvClasses.Init(AllDetectionClasses);
|
||||
|
||||
_dbFactory.Run(async db =>
|
||||
_dbFactory.Run(db =>
|
||||
{
|
||||
var allAnnotations = await db.Annotations
|
||||
var allAnnotations = db.Annotations
|
||||
.LoadWith(x => x.Detections)
|
||||
.OrderBy(x => x.AnnotationStatus)
|
||||
.ThenByDescending(x => x.CreatedDate)
|
||||
.ToListAsync();
|
||||
.ToList();
|
||||
|
||||
foreach (var annotation in allAnnotations)
|
||||
AddAnnotationToDict(annotation);
|
||||
}).GetAwaiter().GetResult();
|
||||
return null!;
|
||||
});
|
||||
|
||||
DataContext = this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user