2017-04-21 20 views
0

JavaでJfasttextライブラリを使用して単語のベクトルを取得するためにfasttextを使用したときにエラーが発生しました。エラーはコアダンプの書き込みに失敗しました。Java Runtime Environmentによって致命的なエラーが検出されました。

 A fatal error has been detected by the Java Runtime Environment: 

# SIGSEGV (0xb) at pc=0x00007f412c606444, pid=14379, tid=139916342187776 
# 
# JRE version: OpenJDK Runtime Environment (7.0_121) (build 1.7.0_121-b00) 
# Java VM: OpenJDK 64-Bit Server VM (24.121-b00 mixed mode linux-amd64 compressed oops) 
# Derivative: IcedTea 2.6.8 
# Distribution: Ubuntu 14.04 LTS, package 7u121-2.6.8-1ubuntu0.14.04.3 
# Problematic frame: 
# C [libjniFastTextWrapper.so+0x1e444] 
FastTextWrapper::FastTextApi::getVector(std::string const&)+0x24 
# 
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again 
# 
# An error report file with more 

答えて

1

まだモデルをロードしていないために発生しました。

訓練されたモデルhereの読み込み方法がわかります。あなたはまた、train supervised modelsまたはunsupervised modelsに方法を見ることができます。

機能loadModel()は、これらのモデルすべてで動作します。

関連する問題