Skip to content

Commit

Permalink
revert commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Nov 16, 2014
1 parent b2f743a commit 53f727d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/image-net.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ int main(int argc, char** argv)
for (i = 0; i < 13; i++)
{
layer_params[i].w.decay = 0.0005;
layer_params[i].w.learn_rate = 0.02;
layer_params[i].w.learn_rate = 0.01;
layer_params[i].w.momentum = 0.9;
layer_params[i].bias.decay = 0;
layer_params[i].bias.learn_rate = 0.02;
layer_params[i].bias.learn_rate = 0.01;
layer_params[i].bias.momentum = 0.9;
}
layer_params[10].dor = 0.5;
Expand Down
4 changes: 2 additions & 2 deletions lib/cuda/cwc_convnet.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ static void _cwc_convnet_supervised_train_function_state_read(const char* filena
for (device_id = 0; device_id < GPU(z->convnet)->device_count; device_id++)
{
cudaSetDevice(device_id);
/*for (i = 0; i < convnet->count; i++)
for (i = 0; i < convnet->count; i++)
{
ccv_convnet_layer_t* layer = GPU(z->convnet)->device[device_id].layers + i;
ccv_convnet_layer_t* z_layer = z->convnet->layers + i;
Expand All @@ -1527,7 +1527,7 @@ static void _cwc_convnet_supervised_train_function_state_read(const char* filena
ASSERT_NO_CUDA_ERROR();
break;
}
}*/
}
}
if (CCV_CLI_OUTPUT_LEVEL_IS(CCV_CLI_VERBOSE))
_cwc_convnet_collect_disk_stats(z->convnet);
Expand Down

0 comments on commit 53f727d

Please sign in to comment.