Commit 410d44d6 authored by Dmitry Kurtaev's avatar Dmitry Kurtaev

Binary data for batch normalization test from Torch

parent a6c02af0
...@@ -169,7 +169,7 @@ TEST(Torch_Importer, run_deconv) ...@@ -169,7 +169,7 @@ TEST(Torch_Importer, run_deconv)
TEST(Torch_Importer, run_batch_norm) TEST(Torch_Importer, run_batch_norm)
{ {
runTorchNet("net_batch_norm"); runTorchNet("net_batch_norm", DNN_TARGET_CPU, "", false, true);
} }
TEST(Torch_Importer, net_prelu) TEST(Torch_Importer, net_prelu)
......
...@@ -24,7 +24,7 @@ if __name__ == '__main__': ...@@ -24,7 +24,7 @@ if __name__ == '__main__':
cols = frame.shape[1] cols = frame.shape[1]
rows = frame.shape[0] rows = frame.shape[0]
net.setInput(dnn.blobFromImage(frame, 1.0, (inWidth, inHeight), (104.0, 177.0, 123.0), False)) net.setInput(dnn.blobFromImage(frame, 1.0, (inWidth, inHeight), (104.0, 177.0, 123.0), False, False))
detections = net.forward() detections = net.forward()
perf_stats = net.getPerfProfile() perf_stats = net.getPerfProfile()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment