Catboost fails to run on Google Cloud

0

I am trying to run a Catboost model on Google cloud - VM instances. I have uploaded all the necessary files and installed all Python packages on the cloud using python3 -m pip. When I try to run my Catboost model I get the following error. Do you have any idea how I can resolve it? I am new to Google Cloud.

Traceback (most recent call last): File "on_gcloud_cpu.py", line 74, in use_best_model=True, verbose=2000, cat_features=categorical_features_index) File "/home/[USERNAME]/.local/lib/python3.6/site-packages/catboost/core.py", line 3678, in fit silent, early_stopping_rounds, save_snapshot, snapshot_file, snapshot_interval, init_model) File "/home/[USERNAME]/.local/lib/python3.6/site-packages/catboost/core.py", line 1611, in _fit train_params["init_model"] File "/home/[USERNAME]/.local/lib/python3.6/site-packages/catboost/core.py", line 1170, in _train self._object._train(train_pool, test_pool, params, allow_clear_pool, init_model._object if init_model else None) File "_catboost.pyx", line 3572, in _catboost._CatBoost._train File "_catboost.pyx", line 3618, in _catboost._CatBoost._train _catboost.CatBoostError: (Permission denied) util/system/file.cpp:625: can't open "cat_feature_index.5ca71617-ed39ee02-8619ee3a-536dcb92 .tmp" with mode CreateAlways|WrOnly|Seq (0x00000034)

python-3.x
google-cloud-platform
catboost

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0