Unverified Commit 5fbfa00b authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

Add some warnings when loading dataset from binary file (#4724)

parent 585b86a3
...@@ -850,6 +850,12 @@ void DatasetLoader::CheckDataset(const Dataset* dataset, bool is_load_from_binar ...@@ -850,6 +850,12 @@ void DatasetLoader::CheckDataset(const Dataset* dataset, bool is_load_from_binar
if (config_.ignore_column != "") { 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."); 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.");
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment