You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
I am trying to add a unit test for MultiBoxDetection to check the consistency between cpu and gpu. But it cannot pass on my machine (skylake + p100) with latest master branch.
======================================================================
FAIL: test_operator_gpu.test_multibox_detection
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/lvtao/Workspace/mxnet-official/tests/python/gpu/../unittest/common.py", line 157, in test_new
orig_test(*args, **kwargs)
File "/home/lvtao/Workspace/mxnet-official/tests/python/gpu/test_operator_gpu.py", line 1801, in test_multibox_detection
check_consistency(sym, ctx_list)
File "/home/lvtao/Workspace/mxnet-official/python/mxnet/test_utils.py", line 1319, in check_consistency
raise e
AssertionError:
Items are not equal:
Error 1232.413086 exceeds tolerance rtol=0.001000, atol=0.001000. Location of maximum error:(0, 1619, 1), a=2.172774, b=0.421231
a: array([[[ 18. , 4.28585577, 0. , 0. ,
0.6093576 , 0. ],
[ 8. , 4.2417717 , 1. , 0.71296334,...
b: array([[[ 18. , 4.28585577, 0. , 0. ,
0.6093576 , 0. ],
[ 8. , 4.2417717 , 1. , 0.7129634 ,...
-------------------- >> begin captured stdout << ---------------------
Predict Err: ctx 1 vs ctx 0 at detection_output
Input shape and parameters are all from ssd example. @zhreshold I notice that MultiBoxDetection was first committed by you. So may I have your suggestion about this?
The text was updated successfully, but these errors were encountered:
There is an atomicAdd in the cuda implementation of MultiBoxDetection. It will generate unstable results which are not reproducible. So I cannot check the consistency between cpu and gpu computation. I am not sure if it's as expectation. But I think you should be aware of this. @zhreshold@piiswrong
I am trying to add a unit test for MultiBoxDetection to check the consistency between cpu and gpu. But it cannot pass on my machine (skylake + p100) with latest master branch.
code:
output:
Input shape and parameters are all from ssd example.
@zhreshold I notice that MultiBoxDetection was first committed by you. So may I have your suggestion about this?
The text was updated successfully, but these errors were encountered: