mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Disable burn_in for FP16 Tensor Cores
This commit is contained in:
@ -636,6 +636,9 @@ void parse_net_options(list *options, network *net)
|
||||
char *policy_s = option_find_str(options, "policy", "constant");
|
||||
net->policy = get_policy(policy_s);
|
||||
net->burn_in = option_find_int_quiet(options, "burn_in", 0);
|
||||
#ifdef CUDNN_HALF
|
||||
net->burn_in = 0;
|
||||
#endif
|
||||
if(net->policy == STEP){
|
||||
net->step = option_find_int(options, "step", 1);
|
||||
net->scale = option_find_float(options, "scale", 1);
|
||||
|
Reference in New Issue
Block a user