mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

report a bug(?) for CSV iterator

Open mazeLinx opened this issue 10 years ago • 11 comments

hi,

I use csv iterator to train a sample model. I find that some specific batch sizes will cause training crash.

It crashes when the batch size is 100, 256, 512, 1024, 2048, while it works for 3072.

error logs: what(): [12:43:14] src/io/iter_csv.cc:86: Check failed: label_parser_->Next() Data CSV's row is smaller than the number of rows in label_csv

The data format and similar issue is also reported here, https://github.com/dmlc/mxnet/issues/1088

Here is a screenshot of this issue.bug

mazeLinx avatar Dec 29 '15 04:12 mazeLinx

@antinucleon This looks like a bug in CSVIter's parsing.

piiswrong avatar Dec 29 '15 07:12 piiswrong

will check it tmr. Also loop @tqchen

antinucleon avatar Dec 30 '15 08:12 antinucleon

is this bug solved? I seems encountered the same problem.

yaguanghu avatar Jan 13 '16 07:01 yaguanghu

Same again~

pengpaiSH avatar Feb 04 '16 07:02 pengpaiSH

same error for CSVIter. doesn't even throw an exception, just aborts. I've generated toy datasets with the same parameters, and some times I get this error and sometimes I don't. However, when I use that data with an NDArrayIter, everything works fine. I don't think NDArrayIter scales, though, as the arrays must be in memory. Also, I'm using python 3 and installed everything manually. However, a co-worker is using Anaconda, and he is not getting these errors.

kris-cognitiv avatar Apr 11 '16 17:04 kris-cognitiv

Same problem on gpu, but it's fine on cpu, weird.

horsepurve avatar Apr 25 '16 08:04 horsepurve

i have the same problem

ericyue avatar Aug 24 '16 17:08 ericyue

same as problem ,but sometimes it may not occur when using some specific batch size or epoch times

Pfeeder avatar Nov 09 '16 09:11 Pfeeder

i run csviter on cpu, and i come across the same problem. sometime, it can run, sometime it fail to run.

moveforever avatar Nov 15 '16 09:11 moveforever

I couldn't reproduce this issue. Maybe transient? @antinucleon @piiswrong - Is this issue fixed?

sandeep-krishnamurthy avatar May 30 '17 20:05 sandeep-krishnamurthy

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!

yajiedesign avatar Sep 30 '17 17:09 yajiedesign