|
@@ -51,6 +51,8 @@ public class TensorFlowModelLoadFactory {
|
|
|
|
|
|
dataSet.setDoFilterDiagnosis(true);
|
|
|
dataSet.readFilterDiagnosisDict();
|
|
|
+ dataSet.setWithSequenceInputs(true); // 使用序列输入
|
|
|
+ dataSet.readChar2IdDict(modelVersion); // 读取字符字典
|
|
|
|
|
|
String modelPath = prop.getProperty("basicPath"); // 模型基本路径
|
|
|
modelVersion = prop.getProperty(modelVersion);
|