From ac46d97351fdaf55f7d44a1a6fbba8e5951b12f9 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Sun, 13 Mar 2016 23:25:36 -0700 Subject: [PATCH] less printing --- src/go.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/go.c b/src/go.c index a7da283c..5f8a418e 100644 --- a/src/go.c +++ b/src/go.c @@ -99,7 +99,6 @@ int *calculate_liberties(float *board) memset(visited, 0, 19*19*sizeof(int)); int index = j*19 + i; if(board[index]){ - printf("%d %d\n", j, i); int side = board[index]; int num = 0; if (i > 0 && board[j*19 + i - 1] == 0) ++num; @@ -177,11 +176,6 @@ void test_go(char *filename, char *weightfile) if(i >= 4) flip_image(oim); rotate_image_cw(oim, -i); - int index = max_index(output, 19*19); - int row = index / 19; - int col = index % 19; - printf("Suggested: %c %d, %.2f%%\n", col + 'A' + 1*(col > 7), 19 - row, output[index]*100); - axpy_cpu(19*19, 1, output, 1, move, 1); if(i >= 4) flip_image(bim);