diff --git a/Seq2SeqSharp/Corpus/ParallelCorpus.cs b/Seq2SeqSharp/Corpus/ParallelCorpus.cs index 828dbc02..90ed49e6 100644 --- a/Seq2SeqSharp/Corpus/ParallelCorpus.cs +++ b/Seq2SeqSharp/Corpus/ParallelCorpus.cs @@ -452,7 +452,7 @@ public IEnumerator<T> GetEnumerator() if (batchIdx % 10000 == 0) { - Logger.WriteLine($"Processing batch '{batchIdx}'"); + Logger.WriteLine(Logger.Level.debug, $"Processing batch '{batchIdx}'"); } diff --git a/TensorSharp.CUDA/RuntimeCompiler/CudaCompiler.cs b/TensorSharp.CUDA/RuntimeCompiler/CudaCompiler.cs index 637310a8..d4268a51 100644 --- a/TensorSharp.CUDA/RuntimeCompiler/CudaCompiler.cs +++ b/TensorSharp.CUDA/RuntimeCompiler/CudaCompiler.cs @@ -49,7 +49,7 @@ private byte[] DoCompile(string fullSource) } else { - Logger.WriteLine($"Compiler Options: {string.Join(" ", m_options)}"); + Logger.WriteLine(Logger.Level.debug, $"Compiler Options: {string.Join(" ", m_options)}"); rtc.Compile(m_options); //rtc.Compile(new string[] { "--use_fast_math", "--gpu-architecture=compute_60" }); } diff --git a/Tools/SeqLabelConsole/Program.cs b/Tools/SeqLabelConsole/Program.cs index 9c210259..20598bd1 100644 --- a/Tools/SeqLabelConsole/Program.cs +++ b/Tools/SeqLabelConsole/Program.cs @@ -142,7 +142,7 @@ private static void Main(string[] args) Logger.WriteLine($"Evaluate model '{opts.ModelFilePath}' by valid corpus '{opts.ValidCorpusPaths}'"); // Load valid corpus - SeqLabelingCorpus validCorpus = new SeqLabelingCorpus(opts.ValidCorpusPaths, opts.MaxTokenSizePerBatch, opts.MaxSentLength, shuffleEnums: opts.ShuffleType); + SeqLabelingCorpus validCorpus = new SeqLabelingCorpus(opts.ValidCorpusPaths, opts.ValMaxTokenSizePerBatch, opts.MaxSentLength, shuffleEnums: opts.ShuffleType); (Vocab srcVocab, Vocab tgtVocab) = validCorpus.BuildVocabs(); // Create metrics