Roshrini commented on issue #11961: Model inference outputs not matching across 
MXNet versions using save_params and load_params
URL: 
https://github.com/apache/incubator-mxnet/issues/11961#issuecomment-410018521
 
 
   Seems like the tolerance level is not set in the mentioned test.. The 
difference seen in the values is after 7th decimal point which is acceptable.
   
   Output I got:
   old_inference_results:
   [[-0.22245485 -0.60762584]
    [-0.18619929 -0.4941083 ]
    [-0.2614998  -0.4940931 ]
    [-0.23192915 -0.4607012 ]
    [-0.22917394 -0.4702541 ]
    [-0.03644256 -0.5791895 ]
    [-0.06653443 -0.5936823 ]
    [-0.27859935 -0.55876964]
    [-0.11784768 -0.5614954 ]
    [-0.19131322 -0.65991235]
    [-0.14616844 -0.49545118]
    [-0.19445111 -0.4866081 ]
    [-0.12782529 -0.5715893 ]
    [-0.12283947 -0.59274095]
    [-0.20627439 -0.4948909 ]
    [-0.25454554 -0.5265834 ]
    [-0.16980055 -0.4900279 ]
    [-0.25898194 -0.5047521 ]
    [-0.10910024 -0.60400814]
    [-0.08615021 -0.55358285]]
   <NDArray 20x2 @cpu(0)>
   
   new inference result:
   [[-0.22245483 -0.6076257 ]
    [-0.18619926 -0.49410838]
    [-0.26149982 -0.49409294]
    [-0.2319293  -0.46070114]
    [-0.2291741  -0.47025427]
    [-0.03644253 -0.5791895 ]
    [-0.06653453 -0.59368235]
    [-0.2785993  -0.5587696 ]
    [-0.11784772 -0.5614954 ]
    [-0.19131319 -0.65991235]
    [-0.14616835 -0.4954512 ]
    [-0.19445102 -0.4866083 ]
    [-0.12782538 -0.5715892 ]
    [-0.12283948 -0.5927409 ]
    [-0.20627451 -0.494891  ]
    [-0.25454548 -0.52658343]
    [-0.1698006  -0.49002784]
    [-0.25898185 -0.50475204]
    [-0.10910021 -0.60400814]
    [-0.08615006 -0.553583  ]]
   <NDArray 20x2 @cpu(0)>
   
   @piyushghai will be working on fixing the test with proper tolerance level.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to