public CurrentEvaluator(TrainStorageManager tsm) { trainStorageManager = tsm; NetId = trainStorageManager.LoadDefaultNetName(); if (NetId != null) { var net = trainStorageManager.LoadNet(NetId); var settings = trainStorageManager.LoadTrainSettings(NetId); if (net != null && settings != null) { Evaluator = new NetEvaluator(net); TrainSettings = settings; } } }
public NetDbTrainer(string netId, TrainStorageManager tsm, Job job) { this.netId = netId; this.storageManager = tsm; this.job = job; }