Turi Create  4.0
turi::object_detection::DarknetYOLOCheckpointer Class Reference

#include <toolkits/object_detection/od_darknet_yolo_model_trainer.hpp>

Public Member Functions

bool HasNext () const override
 
std::unique_ptr< CheckpointNext () override
 
std::shared_ptr< IteratorPublisher< std::unique_ptr< Checkpoint > > > AsPublisher ()
 

Detailed Description

Wrapper for a darknet-yolo model_backend that publishes checkpoints.

Definition at line 107 of file od_darknet_yolo_model_trainer.hpp.

Member Function Documentation

◆ AsPublisher()

std::shared_ptr<IteratorPublisher<std::unique_ptr< Checkpoint > > > turi::neural_net::Iterator< std::unique_ptr< Checkpoint > >::AsPublisher ( )
inlineinherited

Returns a Publisher wrapping this Iterator.

Definition at line 49 of file combine_iterator.hpp.

◆ HasNext()

bool turi::object_detection::DarknetYOLOCheckpointer::HasNext ( ) const
inlineoverridevirtual

Returns true as long as the underlying sequence contains more values.

Implements turi::neural_net::Iterator< std::unique_ptr< Checkpoint > >.

Definition at line 114 of file od_darknet_yolo_model_trainer.hpp.

◆ Next()

std::unique_ptr<Checkpoint> turi::object_detection::DarknetYOLOCheckpointer::Next ( )
overridevirtual

Returns the next value in the sequence. May throw on error.

Implements turi::neural_net::Iterator< std::unique_ptr< Checkpoint > >.


The documentation for this class was generated from the following file: