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

Function train_thread

yolo_detector/darknet_opt/src/network.c:808–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806} train_args;
807
808void *train_thread(void *ptr)
809{
810 train_args args = *(train_args*)ptr;
811 free(ptr);
812 cuda_set_device(args.net->gpu_index);
813 *args.err = train_network(args.net, args.d);
814 return 0;
815}
816
817pthread_t train_network_in_thread(network *net, data d, float *err)
818{

Callers

nothing calls this directly

Calls 2

cuda_set_deviceFunction · 0.85
train_networkFunction · 0.85

Tested by

no test coverage detected