third updaate
parent
fa72423561
commit
c902e42017
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(COSC-4P80-Final-Project VERSION 0.0.8)
|
project(COSC-4P80-Final-Project VERSION 0.0.9)
|
||||||
|
|
||||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||||
|
|
|
@ -508,6 +508,7 @@ namespace fp
|
||||||
|
|
||||||
for (blt::i32 i = 0; i < runs; i++)
|
for (blt::i32 i = 0; i < runs; i++)
|
||||||
{
|
{
|
||||||
|
BLT_TRACE("Starting run %d", i);
|
||||||
auto local_ident = ident + std::to_string(i);
|
auto local_ident = ident + std::to_string(i);
|
||||||
NetworkType network{};
|
NetworkType network{};
|
||||||
if (restore)
|
if (restore)
|
||||||
|
@ -542,6 +543,7 @@ namespace fp
|
||||||
max_pool<2, 2, 2, 2, relu<con<16, 5, 5, 1, 1,
|
max_pool<2, 2, 2, 2, relu<con<16, 5, 5, 1, 1,
|
||||||
max_pool<2, 2, 2, 2, relu<con<6, 5, 5, 1, 1,
|
max_pool<2, 2, 2, 2, relu<con<6, 5, 5, 1, 1,
|
||||||
input<matrix<blt::u8>>>>>>>>>>>>>>;
|
input<matrix<blt::u8>>>>>>>>>>>>>>;
|
||||||
|
BLT_TRACE("Running deep learning tests");
|
||||||
return run_network_tests<net_type_dl>(path, "deep_learning", runs, restore);
|
return run_network_tests<net_type_dl>(path, "deep_learning", runs, restore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -555,6 +557,7 @@ namespace fp
|
||||||
relu<fc<120,
|
relu<fc<120,
|
||||||
input<matrix<blt::u8>>>>>>>>;
|
input<matrix<blt::u8>>>>>>>>;
|
||||||
|
|
||||||
|
BLT_TRACE("Running feed forward tests");
|
||||||
return run_network_tests<net_type_ff>(path, "feed_forward", runs, restore);
|
return run_network_tests<net_type_ff>(path, "feed_forward", runs, restore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -566,6 +569,7 @@ namespace fp
|
||||||
python_dual_stacked_graph_program = binary_directory + "../graph.py";
|
python_dual_stacked_graph_program = binary_directory + "../graph.py";
|
||||||
BLT_TRACE(binary_directory);
|
BLT_TRACE(binary_directory);
|
||||||
BLT_TRACE(python_dual_stacked_graph_program);
|
BLT_TRACE(python_dual_stacked_graph_program);
|
||||||
|
BLT_TRACE("Running with batch size %d", batch_size);
|
||||||
|
|
||||||
using namespace dlib;
|
using namespace dlib;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue