inukshuk / anystyle-cli

AnyStyle Command Line Interface
BSD 2-Clause "Simplified" License
57 stars 8 forks source link

anystyle train crashing #13

Open lr210 opened 3 years ago

lr210 commented 3 years ago

anystyle train crashes when I try to train with a particular xml file. When I run anystyle check it appears as if the file is valid.

The error is as follows: ruby: vmath.c:281: xvm_expma: Assertion `r != NULL && ((uintptr_t)r % 16) == 0' failed.

I have replicated this on two different machines: a windows machine and a linux machine. anystyle

inukshuk commented 3 years ago

I'd check for any obvious errors in the training data, such as blank nodes. I assume that there are only 5 labels in the training set is intentional? If you don't find anything, I'm happy to take a quick look at the data if you can post it somewhere.

lr210 commented 3 years ago

The issue was due to blank nodes. Thanks for your help! Would it be possible to produce a nice error when running anystyle check when there are blank nodes?