"Now we define a simple training function. All the magic happens within the `CometLoggerCallback`:\n",
"\n",
"```python\n",
"CometLoggerCallback(\n",
" project_name=comet_project,\n",
" save_checkpoints=True,\n",
")\n",
"```\n",
"\n",
"It will automatically log all results to Comet ML and upload the checkpoints as artifacts. It assumes you're logged in into Comet via an API key or your `~./.comet.config`."
"COMET WARNING: As you are running in a Jupyter environment, you will need to call `experiment.end()` when finished to ensure all metrics and code are logged before exiting.\n",
"COMET INFO: Experiment is live on comet.ml https://www.comet.ml/krfricke/ray-air-example/ecd3726ca127497ba7386003a249fad6\n",
"\n",
"COMET WARNING: Failed to add tag(s) None to the experiment\n",
"\n",
"COMET WARNING: Empty mapping given to log_params({}); ignoring\n",
"\u001b[2m\u001b[36m(GBDTTrainable pid=19852)\u001b[0m UserWarning: Dataset 'train' has 1 blocks, which is less than the `num_workers` 2. This dataset will be automatically repartitioned to 2 blocks.\n",
"\u001b[2m\u001b[36m(GBDTTrainable pid=19852)\u001b[0m 2022-05-19 15:19:25,961\tINFO main.py:980 -- [RayXGBoost] Created 2 new actors (2 total actors). Waiting until actors are ready for training.\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 2.48 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:1.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 2.0.0 created (previous was: 1.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 3.86 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:2.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 3.0.0 created (previous was: 2.0.0)\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:1.0.0' has been fully uploaded successfully\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 5.31 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:3.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 4.0.0 created (previous was: 3.0.0)\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:2.0.0' has been fully uploaded successfully\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 6.76 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:4.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 5.0.0 created (previous was: 4.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 8.21 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:3.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:5.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:4.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 6.0.0 created (previous was: 5.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 9.87 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:6.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:5.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 7.0.0 created (previous was: 6.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 11.46 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:7.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:6.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 8.0.0 created (previous was: 7.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 12.84 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:8.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:7.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 9.0.0 created (previous was: 8.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 14.36 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:9.0.0' has started uploading asynchronously\n",
"COMET WARNING: The given value of the metric episodes_total was None; ignoring\n",
"COMET WARNING: The given value of the metric timesteps_total was None; ignoring\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:8.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 10.0.0 created (previous was: 9.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 16.37 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:10.0.0' has started uploading asynchronously\n",
"\u001b[2m\u001b[36m(GBDTTrainable pid=19852)\u001b[0m 2022-05-19 15:19:33,890\tINFO main.py:1519 -- [RayXGBoost] Finished XGBoost training on training data with total N=569 in 7.96 seconds (4.61 pure XGBoost training time).\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:9.0.0' has been fully uploaded successfully\n",
"COMET INFO: Artifact 'checkpoint_XGBoostTrainer_ac544_00000' version 11.0.0 created (previous was: 10.0.0)\n",
"COMET INFO: Scheduling the upload of 3 assets for a size of 16.39 KB, this can take some time\n",
"COMET INFO: Artifact 'krfricke/checkpoint_XGBoostTrainer_ac544_00000:11.0.0' has started uploading asynchronously\n",