You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@mxnet.apache.org by Antoine via MXNet Forum <mx...@discoursemail.com.INVALID> on 2021/03/23 22:50:19 UTC

[MXNet Forum] [Discussion] How to load 2 images in model


Hi, i am planning to create a model that uses 2 images as input. 

Previously with one image input, i was using mx.io.ImageRecordIter as a Data iterator to feed the images into the network during the training. 
To feed 2 images in the model during the training, i can extend the first solution, and create 2 .rec files, then 2 ImagerecordIter. One of the problem is that for training I set Shuffle=True. Then, how can i synchronize these 2 iterators? 

Is it the best solution to do that? 
I guess  I will have to move away from the ImagerecordIter and look for a more flexible Solution with the DataIter or Dataset classes, isnt it?

Thanks





---
[Visit Topic](https://discuss.mxnet.apache.org/t/how-to-load-2-images-in-model/6915/1) or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.mxnet.apache.org/email/unsubscribe/1a0e0681a5f6ceb983a5d98ef8273d8504d4fd2bb6c4171dea83e11a8f95997e).