mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 11:16:35 +00:00
add onnx inference
This commit is contained in:
@@ -24,7 +24,7 @@ class AnnotationClass:
|
||||
for mode in WeatherMode:
|
||||
for cl in j:
|
||||
id = mode.value + cl['Id']
|
||||
name = cl['Name'] if mode.value == 0 else f'{cl['Name']}({mode.name})'
|
||||
name = cl['Name'] if mode.value == 0 else f'{cl["Name"]}({mode.name})'
|
||||
annotations_dict[id] = AnnotationClass(id, name, cl['Color'])
|
||||
return annotations_dict
|
||||
|
||||
|
||||
Reference in New Issue
Block a user