Ejemplo n.º 1
0
 public void Train(ReqTrain req)
 {
     _preprocessor.Clear();
     _preprocessor.ProcessFolders(new string[] { Path.Combine("assets", req.File) });
     _preprocessor.AfterAdd();
     // await _operator.InsertVectors(_preprocessor.TotalList);
     currentTask = Task.Run(async() => await _operator.InsertVectors(_preprocessor.TotalList));
 }