otx.algorithms.classification.tools.classification_sample#

Sample code of otx training for classification.

Functions

get_label_schema(labels[, multilabel, ...])

Get label schema.

load_test_dataset(data_type, args)

Load test dataset.

main(args)

Main of Classification Sample Test.

parse_args()

Parse function for getting model template & check export.

validate(task, validation_dataset, model)

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.

otx.algorithms.classification.tools.classification_sample.parse_args()[source]#

Parse function for getting model template & check export.

otx.algorithms.classification.tools.classification_sample.validate(task, validation_dataset, model)[source]#

Validate.