-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
After run program with ''create-issues-data-set" argument empty line creates at the top of output file.
This leads to crash when program runs with "create-issues-vector-model" argument with following error:
Exception in thread "main" java.lang.IllegalArgumentException: Invalid column 0
at org.deeplearning4j.util.StringGrid.checkInvalidColumn(StringGrid.java:674)
at org.deeplearning4j.util.StringGrid.getColumn(StringGrid.java:659)
at org.deeplearning4j.text.sentenceiterator.labelaware.LabelAwareListSentenceIterator.<init>(LabelAwareListSentenceIterator.java:54)
at com.koval.resolver.common.api.doc2vec.VectorModelCreator.createFromInputStream(VectorModelCreator.java:57)
at com.koval.resolver.common.api.doc2vec.VectorModelCreator.createFromFile(VectorModelCreator.java:46)
at com.koval.resolver.core.Launcher.createVectorModel(Launcher.java:299)
at com.koval.resolver.core.Launcher.createIssuesVectorModel(Launcher.java:101)
at com.koval.resolver.IResolverApplication.main(IResolverApplication.java:60)
Full error log:
error_log.txt
There may be two different fixes:
- Try to write issues without empty line at the top to output file
- Ignore empty lines while reading from Issues_DataSet.txt
Metadata
Metadata
Assignees
Labels
No labels