mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 20:26:31 +00:00
reuse VirtualizingWrapPanel for display Dataset Explorer
This commit is contained in:
@@ -148,9 +148,9 @@ public class YoloLabel : Label
|
||||
}
|
||||
}
|
||||
|
||||
public static async Task<List<YoloLabel>> ReadFromFile(string filename, CancellationToken cancellationToken)
|
||||
public static async Task<List<YoloLabel>> ReadFromFile(string filename)
|
||||
{
|
||||
var str = await File.ReadAllTextAsync(filename, cancellationToken);
|
||||
var str = await File.ReadAllTextAsync(filename);
|
||||
|
||||
return str.Split(Environment.NewLine)
|
||||
.Select(Parse)
|
||||
|
||||
Reference in New Issue
Block a user