You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/02/28 04:18:05 UTC
[GitHub] CoinCheung commented on issue #9909: mx.random.seed(seed) does not work for mx.io.ImageRecordIter() ?
CoinCheung commented on issue #9909: mx.random.seed(seed) does not work for mx.io.ImageRecordIter() ?
URL: https://github.com/apache/incubator-mxnet/issues/9909#issuecomment-369116553
Yes, what if I would like to change the seed after fetching three batches? The only moment to set the seed is when I define it. Thus once I define it, every thing is fixed and I have no way to add more randoms in my sample batches?
It is said that I could reset the seed by adding a line mx.random.seed(4) at where I need it. However, it does not work from my observation in the code I provided in the above.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services