Darknet/YOLO v3.0-137-g91d901e
Object Detection Framework
 
Loading...
Searching...
No Matches
darknet_utils.hpp File Reference

Collection of helper and utility functions for Darknet. More...

Include dependency graph for darknet_utils.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  Darknet
 The namespace for the C++ Darknet API.
 

Functions

void Darknet::cfg_layers ()
 
std::string Darknet::convert_to_lowercase_alphanum (const std::string &arg)
 Convert to lowercase and remove all but alphanumerics.
 
std::string Darknet::get_command_output (const std::string &cmd)
 
void Darknet::initialize_new_charts (const Darknet::Network &net)
 Setup the new C++ charts. This is called once just prior to starting training.
 
std::string Darknet::text_to_simple_label (std::string txt)
 Convert the given text to plain alphanumeric ASCII string.
 
void Darknet::update_accuracy_in_new_charts (const int class_index, const float accuracy)
 
void Darknet::update_loss_in_new_charts (const int current_iteration, const float loss, const float seconds_remaining, const bool dont_show)
 Update the new C++ charts with the given loss and mAP% accuracy value. This is called at every iteration.
 
std::string Darknet::trim (const std::string &str)
 Trim leading and trailing whitespace from the given string.
 
std::string & Darknet::trim (std::string &str)
 Trim leading and trailing whitespace from the given string.
 
std::string Darknet::lowercase (const std::string &str)
 Simple conversion of the string to lowercase.
 
std::string & Darknet::lowercase (std::string &str)
 Simple conversion of the string to lowercase.
 

Detailed Description

Collection of helper and utility functions for Darknet.