Instantiators
instantiate_annotators(annotators_cfg, taxonomy)
Instantiates the annotators from the configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
annotators_cfg |
DictConfig
|
|
required |
taxonomy |
|
required |
Returns:
| Type | Description |
|---|---|
List[Annotator]
|
|
Source code in src/utils/instantiators.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | |