From f119bba06f997f046e6b056c9d419ceb6257d486 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Wed, 27 Oct 2021 02:57:01 +0300 Subject: [PATCH] Add some warnings when loading from binary file --- src/io/dataset_loader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/io/dataset_loader.cpp b/src/io/dataset_loader.cpp index 6dbbf3db7f54..4283b5ebb222 100644 --- a/src/io/dataset_loader.cpp +++ b/src/io/dataset_loader.cpp @@ -850,6 +850,12 @@ void DatasetLoader::CheckDataset(const Dataset* dataset, bool is_load_from_binar if (config_.ignore_column != "") { Log::Warning("Config ignore_column works only in case of loading data directly from text file. It will be ignored when loading from binary file."); } + if (config_.two_round) { + Log::Warning("Config two_round works only in case of loading data directly from text file. It will be ignored when loading from binary file."); + } + if (config_.header) { + Log::Warning("Config header works only in case of loading data directly from text file. It will be ignored when loading from binary file."); + } } }