-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
I am working on armv7 tinker board, I refer to the User Quick Guide and everything is OK, but when I am doing the unit test which is the last step. something is wrong and i checked the source code, try to fix it. But nothing can be changed.
[ RUN ] NeuronLayerTest/0.TestAbsVal
[ OK ] NeuronLayerTest/0.TestAbsVal (0 ms)
[ RUN ] NeuronLayerTest/0.TestReLU
[ OK ] NeuronLayerTest/0.TestReLU (0 ms)
[ RUN ] NeuronLayerTest/0.TestReLUWithNegativeSlope
[ OK ] NeuronLayerTest/0.TestReLUWithNegativeSlope (10 ms)
[ RUN ] NeuronLayerTest/0.TestSigmoid
[ OK ] NeuronLayerTest/0.TestSigmoid (0 ms)
[ RUN ] NeuronLayerTest/0.TestTanH
test_neuron_layer.cpp:191: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) + 1e-2) >= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 1.01 vs nan
test_neuron_layer.cpp:194: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) - 1e-2) <= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 0.99 vs nan
test_neuron_layer.cpp:191: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) + 1e-2) >= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 1.01 vs nan
test_neuron_layer.cpp:194: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) - 1e-2) <= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 0.99 vs nan
test_neuron_layer.cpp:191: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) + 1e-2) >= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 1.01 vs nan
test_neuron_layer.cpp:194: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) - 1e-2) <= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 0.99 vs nan
test_neuron_layer.cpp:191: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) + 1e-2) >= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 1.01 vs nan
test_neuron_layer.cpp:194: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) - 1e-2) <= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 0.99 vs nan
test_neuron_layer.cpp:191: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) + 1e-2) >= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 1.01 vs nan
test_neuron_layer.cpp:194: Failure
Expected: (this->blob_top_->data_at(i, j, k, l) - 1e-2) <= ((exp(2*this->blob_bottom_->data_at(i, j, k, l)) - 1) / (exp(2*this->blob_bottom_->data_at(i, j, k, l)) + 1)), actual: 0.99 vs nan
[ FAILED ] NeuronLayerTest/0.TestTanH, where TypeParam = caffe::CPUDevice<float> (2 ms)
My system configuration
Operating system: debian(32)
Compiler: tinker board(same to pi3)
CUDA version (if applicable): no
CUDNN version (if applicable): no
Metadata
Metadata
Assignees
Labels
No labels