You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use CSVIter to load a dataset I have in CSV format. The data file has 25 columns (some of the can be empty, especially the last columns).
While executing, it outputs the following error trace:
julia> using MXNet;
julia> train_provider = mx.CSVIter(data_csv = "/home/laketide/work/Alejandro/output_training_data.csv", data_shape =(1,25), label_csv = "/home/laketide/work/Alejandro/output_training_labels.csv", label_shape = (1,2), batch_size = 1)
[15:45:59] /home/laketide/mxnet/dmlc-core/include/dmlc/./logging.h:300: [15:45:59] src/io/iter_csv.cc:105: Check failed: row.length == shape.Size() (24 vs. 25) The data size in CSV do not match size of shape: specified shape=(25,1), the csv row-length=24
terminate called after throwing an instance of 'dmlc::Error'
what(): [15:45:59] src/io/iter_csv.cc:105: Check failed: row.length == shape.Size() (24 vs. 25) The data size in CSV do not match size of shape: specified shape=(25,1), the csv row-length=24
signal (6): Aborted
while loading no file, in expression starting on line 0
Allocations: 3195248 (Pool: 3193533; Big: 1715); GC: 3
Aborted (core dumped)
I've checked all the lines. All of them have 24 commas, so it has 25 columns.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi.
I'm trying to use CSVIter to load a dataset I have in CSV format. The data file has 25 columns (some of the can be empty, especially the last columns).
While executing, it outputs the following error trace:
I've checked all the lines. All of them have 24 commas, so it has 25 columns.
Thanks in advance.
The text was updated successfully, but these errors were encountered: