mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anirudh Acharya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MXNET-212) [R] mx.io.arrayiter shuffing is disabled
Date Fri, 06 Apr 2018 17:38:00 GMT

    [ https://issues.apache.org/jira/browse/MXNET-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16428654#comment-16428654
] 

Anirudh Acharya commented on MXNET-212:
---------------------------------------

This issue is not reproducible on Mac with my RStudio installation. But I am able to reproduce
it on one of my EC2 instances.

The only difference in the two installations is the mxnet version -
In Mac I am running

{{other attached packages: [1] mxnet_0.10.1 }}

whereas on the ubuntu installation I am running the latest version -

{{other attached packages: [1] mxnet_1.2.0 }}

The root cause of the problem is the behavior of mxnet's uniform distribution generator which
is internally used for shuffling the {{arrayiter}} object.
On the old code, I get the following
> mx.runif(shape=10, min=0, max=1, ctx=mx.cpu()) [1] 0.04804938 0.65167809 0.77450776 0.67896259
0.21799077 0.29066718 0.08128081 0.97726691 0.04218456 0.40008616
On the latest mxnet v1.2 I get the following -
> mx.runif(shape=10, min=0, max=1, ctx=mx.cpu()) [1] 1.168184e-35 0.000000e+00 0.000000e+00
2.522337e-44 0.000000e+00 [6] 0.000000e+00 1.401298e-45 0.000000e+00 6.726233e-44 0.000000e+00
Similar errors exist for the {{mx.rnorm}} too in the latest code.

> [R] mx.io.arrayiter shuffing is disabled
> ----------------------------------------
>
>                 Key: MXNET-212
>                 URL: https://issues.apache.org/jira/browse/MXNET-212
>             Project: Apache MXNet
>          Issue Type: Bug
>            Reporter: Qing Lan
>            Assignee: Anirudh Acharya
>            Priority: Major
>
> https://github.com/apache/incubator-mxnet/issues/9804



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


Mime
View raw message