Skip to content
Snippets Groups Projects
Commit ac46d973 authored by Joseph Redmon's avatar Joseph Redmon
Browse files

less printing

parent 4b2a9d95
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment