grez72 commented on issue #14489: global shuffling
URL: 
https://github.com/apache/incubator-mxnet/issues/14489#issuecomment-475544237
 
 
   Thanks for the quick response. I added the idx file, and I still don't seem 
to be getting a global shuffle.
   
   Here's how I'm setting up the ImageRecordIter_v1 (I'm using v1 so that I can 
directly access the index. It seems ImageRecordIter returns only zeros for the 
index). 
   
   ```
   train_data = ImageRecordIter_v1(
       path_imglist    = path_imglist,
       path_imgrec     = rec_file,
       path_imgidx     = idx_file,
       data_shape      = (3, 224, 224),
       batch_size      = 32,
       shuffle_chunk_seed = 12,
       shuffle         = True,
       prefetch_buffer = 4,
       preprocess_threads = 8,
   )
   ```
   
   Does the global shuffle only work with ImageRecordIter? If so, is there any 
way to get ImageRecordIter to return the correct indices?
   
   Thanks!
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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