Class encodings
Class encodings allow conversion between label IDs and label names when importing and exporting annotations.
Remo supports some default class encodings and upload of custom ones.
class_encoding can be expressed as:
-
one of predefined value:
WordNet
,GoogleKnowledgeGraph
-
local path to csv file with labels and classes:
'/Users/admin/Downloads/class_encoding.csv'
- raw content of a csv file, like:
id,name
DR3,person
SP2,rock
- dictionary with label IDs and label names, like:
{
'DR3': 'person',
'SP2': 'rock'
}