[−][src]Function darknet::train_detector
pub fn train_detector<P1, P2, P3, P4, G>(
data_config_file: P1,
model_config_file: P2,
weights_file: Option<P3>,
gpu_indexes: G,
clear: bool,
dont_show: bool,
calc_map: bool,
mjpeg_port: Option<u16>,
show_imgs: bool,
benchmark_layers: bool,
chart_file: P4
) -> Result<(), Error> where
P1: AsRef<Path>,
P2: AsRef<Path>,
P3: AsRef<Path>,
P4: AsRef<Path>,
G: AsRef<[usize]>,
Train a detector model.