mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
adding new tiny-yolo
This commit is contained in:
@ -414,6 +414,13 @@ void mean_arrays(float **a, int n, int els, float *avg)
|
||||
}
|
||||
}
|
||||
|
||||
void print_statistics(float *a, int n)
|
||||
{
|
||||
float m = mean_array(a, n);
|
||||
float v = variance_array(a, n);
|
||||
printf("MSE: %.6f, Mean: %.6f, Variance: %.6f\n", mse_array(a, n), m, v);
|
||||
}
|
||||
|
||||
float variance_array(float *a, int n)
|
||||
{
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user