dlwh / epic

**Archived** Epic is a high performance statistical parser written in Scala, along with a framework for building complex structured prediction models.

Home Page:http://scalanlp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Couldn't deserialize model

TachikakaMin opened this issue · comments

Sorry to bother you.
In epic/target/scala-2.11

java -Xmx4g -cp epic-assembly-0.4.4.jar epic.sequences.TagText --model epic-pos-en_2.10-2014.6.3-SNAPSHOT.jar --nthreads 4 test

[main] ERROR breeze.util.HashIndex$ - Deserializing an old-style HashIndex. Taking counter measures Couldn't deserialize model due to exception, epic.features.WordFeature; local class incompatible: stream classdesc serialVersionUID = 1068855398746279726, local class serialVersionUID = 1. Trying classPathLoad... Exception in thread "main" java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:347) at scala.None$.get(Option.scala:345) at epic.sequences.TagText$.classPathLoad(TagText.scala:20) at epic.sequences.TagText$.classPathLoad(TagText.scala:11) at epic.util.ProcessTextMain$class.main(ProcessTextMain.scala:47) at epic.sequences.TagText$.main(TagText.scala:11) at epic.sequences.TagText.main(TagText.scala)

I don't know how to solve the problem, it's English model.

scala -version Scala code runner version 2.12.4 -- Copyright 2002-2017, LAMP/EPFL and Lightbend, Inc.