Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature format error #3

Closed
travisbrady opened this issue May 10, 2019 · 2 comments
Closed

Feature format error #3

travisbrady opened this issue May 10, 2019 · 2 comments

Comments

@travisbrady
Copy link

I got this error when experimenting with training, but the same file works with craft-ml.

What is wrong with the feature vector in question?

parabel train data/hack_svml_train.txt
2019-05-10 16:18:41 INFO  [parabel::data] Loading data from data/hack_svml_train.txt
2019-05-10 16:18:41 INFO  [parabel::data] Parsing data
thread 'main' panicked at 'Failed to load training data: Custom { kind: InvalidData, error: StringError("Feature vector is invalid in line 278 13:1 1:1 2:1 102601:1 9:1 156:1 519:1 5037:1 3856:1 311:1 156:1 1078:1 308:1 12:1") }', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
$ uname -a
Darwin C02QRF6FG8WP 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64 x86_64
@tomtung
Copy link
Owner

tomtung commented May 10, 2019

Can you provide a small sample training file that can reproduce this error?

@tomtung
Copy link
Owner

tomtung commented May 10, 2019

From the given error message, seems like features appeared multiple times in the same line (e.g. 156)

@tomtung tomtung closed this as completed May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants