MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / load_network

Function load_network

yolo_detector/darknet_opt/src/network.c:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51network *load_network(char *cfg, char *weights, int clear)
52{
53 network *net = parse_network_cfg(cfg);
54 if(weights && weights[0] != 0){
55 load_weights(net, weights);
56 }
57 if(clear) (*net->seen) = 0;
58 return net;
59}
60
61size_t get_current_batch(network *net)
62{

Callers 15

demoFunction · 0.85
demo_compareFunction · 0.85
train_regressorFunction · 0.85
predict_regressorFunction · 0.85
demo_regressorFunction · 0.85
train_tagFunction · 0.85
test_tagFunction · 0.85
train_captchaFunction · 0.85
test_captchaFunction · 0.85
valid_captchaFunction · 0.85
demo_artFunction · 0.85
train_yoloFunction · 0.85

Calls 2

parse_network_cfgFunction · 0.85
load_weightsFunction · 0.85

Tested by 15

test_tagFunction · 0.68
test_captchaFunction · 0.68
test_yoloFunction · 0.68
test_cocoFunction · 0.68
test_cifar_multiFunction · 0.68
test_cifarFunction · 0.68
test_cifar_csvFunction · 0.68
test_cifar_csvtrainFunction · 0.68
test_superFunction · 0.68
test_dcganFunction · 0.68
test_lsdFunction · 0.68
test_char_rnnFunction · 0.68