Skip to content

Commit

Permalink
Add some warnings when loading dataset from binary file (#4724)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Oct 27, 2021
1 parent 585b86a commit 5fbfa00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/io/dataset_loader.cpp
Expand Up @@ -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.");
}
}
}

Expand Down

0 comments on commit 5fbfa00

Please sign in to comment.