otx.algorithms.classification.tools.classification_sample#
Sample code of otx training for classification.
Functions
|
Get label schema. |
|
Load test dataset. |
|
Main of Classification Sample Test. |
Parse function for getting model template & check export. |
|
|
Validate. |
- otx.algorithms.classification.tools.classification_sample.get_label_schema(labels, multilabel=False, hierarchical=False)[source]#
Get label schema.
- otx.algorithms.classification.tools.classification_sample.load_test_dataset(data_type, args)[source]#
Load test dataset.
- otx.algorithms.classification.tools.classification_sample.main(args)[source]#
Main of Classification Sample Test.