This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
example bug? #2271
Comments
英语太烂,中文再来一遍。 example的例子页面,使用自己的数据时, val_iter = mx.io.NDArrayIter(val_data, val_label, batch_size=batch_size) model.fit(X=train_data, y=train_label) 构建了两个intel迭代器,然后fit的时候直接用train_data,根本没用到itel,应该是写错了吧? |
正确用法,应该是这样吧 model.fit(X = train_iter, eval_data = val_iter) |
Yes it's a typo. Would you like to submit a PR to fix this? |
i just use github 5 days,so i doest know how to fix it. but i can try. |
This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in exapmle page。
https://github.com/dmlc/mxnet/tree/master/example/image-classification
Use Your Own Datasets
has that code
train_iter = mx.io.NDArrayIter(train_data, train_label, batch_size=batch_size, shuffle=True)
val_iter = mx.io.NDArrayIter(val_data, val_label, batch_size=batch_size)
model.fit(X=train_data, y=train_label)
train_iter bug use train_data
is a bug?
The text was updated successfully, but these errors were encountered: