配置模版类增加无参构造方法

pull/3/head
lidapeng 5 years ago
parent 3d2afcbb28
commit e925e69767

@ -43,7 +43,7 @@ public class TempleConfig {
private double iouTh = 0.5;//IOU阈值
private int lvqNub = 10;//lvq循环次数默认30
private VectorK vectorK;
private boolean isThreeChannel;//是否启用三通道
private boolean isThreeChannel = false;//是否启用三通道
private int classifier = Classifier.VAvg;//默认分类类别使用的是向量均值分类
private Normalization normalization = new Normalization();//统一归一化
private double avg = 0;//覆盖均值
@ -70,6 +70,9 @@ public class TempleConfig {
return normalization;
}
public TempleConfig() {
}
//边框聚类集合 模型需要返回
public TempleConfig(boolean isThreeChannel, boolean isAccurate) {
this.isThreeChannel = isThreeChannel;

Loading…
Cancel
Save