Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supress warning #4202

Closed
hlbkin opened this issue Mar 4, 2019 · 2 comments
Closed

Supress warning #4202

hlbkin opened this issue Mar 4, 2019 · 2 comments

Comments

@hlbkin
Copy link

hlbkin commented Mar 4, 2019

How to supress new warnings in 0.81

I delete model after each iteration manually (after each iteration) and get this

[09:09:43] /workspace/src/learner.cc:362: Parameter 'n_gpus' has been recovered from the saved model. It will be set to 1 for prediction. To override the predictor behavior, explicitly set 'n_gpus' parameter as follows:

  • Python package: bst.set_param('n_gpus', [new value])
  • R package: xgb.parameters(bst) <- list(n_gpus = [new value])
  • JVM packages: bst.setParam("n_gpus", [new value])
    [09:09:43] /workspace/src/learner.cc:362: Parameter 'predictor' has been recovered from the saved model. It will be set to 'cpu_predictor' for prediction. To override the predictor behavior, explicitly set 'predictor' parameter as follows:
  • Python package: bst.set_param('predictor', [new value])
  • R package: xgb.parameters(bst) <- list(predictor = [new value])
  • JVM packages: bst.setParam("predictor", [new value])
@hcho3
Copy link
Collaborator

hcho3 commented Mar 4, 2019

In the upcoming 0.82 release, you’ll be able to set verbosity parameter to 0 to turn off all logs.

@hcho3
Copy link
Collaborator

hcho3 commented Mar 5, 2019

Closing, since 0.82 version has been released.

@hcho3 hcho3 closed this as completed Mar 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants