hi, I used to use symbol api and NDArrayIter to load multi-input data to model
but recently want to switch to Gluon interface, below is an example of how I am
currently constructing ndArrayIter:
X_train = mx.io.NDArrayIter(data={'pluids':
np.array(train['pluids'].values.tolist(), dtype=int),
'valid_len': train['valid_len'].values,
'bkidx': train['bkidx'].values,
'timeidx': train['timeidx'].values},
label={'output_label': train['label'].values},
batch_size=batch_size,
shuffle=True)
Now I want to convert this to GluonDataLoader so that I can use Gluon API to
train the model. I found there is a DataIterLoader given in documentation of
how to convert NDArrayIter to GluonDataLoader but I noticed after the
conversion all metadata likes the datadesc are gone and also the sequence of
the input data are changed. Can someone help me figure out what is the correct
way to construct a GluonDataLoader with multiple input data?
---
[Visit
Topic](https://discuss.mxnet.io/t/construct-multi-input-data-using-gluon-dataset-and-dataloder/6433/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.io/email/unsubscribe/d7eae1cbb5929179e7d7a1709dff83513d46ac04090614c86c21b87c6b8eafe2).