ADIA Lab Market Prediction Competition
  • The tournament
    • Overview
    • Timeline
    • Evaluation
    • Data
    • Prize
  • Requirements
    • Code Requirements
    • The Submission Code Interface
    • Resource Limit
    • Whitelisted Libraries
  • Participate
    • How to participate
    • Create an account
    • Setup
    • Your working directory
    • A basic but functional solution
    • Testing your code
    • Submitting
    • Get a score on the leaderboard
    • Run in the Cloud Environment
    • Monitoring your Cloud Runs
    • Out-of-Sample Submission Selection
    • Out-of-Sample Evaluation Phase
    • Advanced Material
    • Known Issues
Powered by GitBook
On this page
  • CatBoostError: Can't create train working dir: catboost_info error
  • Change the train directory to: /tmp
  • Change the train directory to: model_directory
  1. Participate

Known Issues

CatBoostError: Can't create train working dir: catboost_info error

CatBoost create a directory for persisting his state. But the Run does not allow you to create file anywhere.

Change the train directory to: /tmp

If the state doesn't need to be persisted, the /tmp directory is the way to go.

model.set_params(train_dir='/tmp/catboost_info')

Change the train directory to: model_directory

If the state does need to be persisted, store everything inside the model_directory as this folder will be reused for the Out-of-Sample phase.

info_path = os.path.join(model_directory, 'catboost_info')
model.set_params(train_dir=info_path)
PreviousAdvanced Material

Last updated 1 year ago