Turi Create
4.0
|
#include <toolkits/object_detection/od_model_trainer.hpp>
Public Member Functions | |
virtual std::shared_ptr< neural_net::Publisher< TrainingOutputBatch > > | AsTrainingBatchPublisher (std::unique_ptr< data_iterator > training_data, size_t batch_size, int offset) |
virtual std::shared_ptr< neural_net::Publisher< EncodedBatch > > | AsInferenceBatchPublisher (std::unique_ptr< data_iterator > test_data, size_t batch_size, float confidence_threshold, float iou_threshold)=0 |
virtual InferenceOutputBatch | DecodeOutputBatch (EncodedBatch batch, float confidence_threshold, float iou_threshold)=0 |
virtual std::shared_ptr< neural_net::Publisher< std::unique_ptr< Checkpoint > > > | AsCheckpointPublisher ()=0 |
Abstract base class for object-detection model trainers.
Responsible for constructing the model-agnostic portions of the overall training pipeline.
Definition at line 252 of file od_model_trainer.hpp.
|
pure virtual |
Returns a publisher that can be used to request checkpoints.
Implemented in turi::object_detection::DarknetYOLOModelTrainer.
|
pure virtual |
Given a data iterator, return a publisher of inference model outputs.
Implemented in turi::object_detection::DarknetYOLOModelTrainer.
|
virtual |
Given a data iterator, return a publisher of model outputs.
Reimplemented in turi::object_detection::DarknetYOLOModelTrainer.
|
pure virtual |
Convert the raw output of the inference batch publisher into structured predictions.
Implemented in turi::object_detection::DarknetYOLOModelTrainer.