Display trials score

How just print final table with all trials and scores without download data message or checkpoint?

  • Medium: I have 270 trials and I saw that :
2024-08-26 12:57:59,499	INFO worker.py:1781 -- Started a local Ray instance.
+-------------------------------------------------------------------+
| Configuration for experiment     TrainMNIST_2024-08-26_12-58-02   |
+-------------------------------------------------------------------+
| Search algorithm                 BasicVariantGenerator            |
| Scheduler                        AsyncHyperBandScheduler          |
| Number of trials                 270                              |
+-------------------------------------------------------------------+

View detailed results here: /root/ray_results/TrainMNIST_2024-08-26_12-58-02
To visualize your results with TensorBoard, run: `tensorboard --logdir /tmp/ray/session_2024-08-26_12-57-53_513810_235/artifacts/2024-08-26_12-58-02/TrainMNIST_2024-08-26_12-58-02/driver_artifacts`

Trial status: 200 PENDING
Current time: 2024-08-26 12:58:07. Total running time: 3s
Logical resource usage: 0/2 CPUs, 0/0 GPUs
+---------------------------------------------------------+
| Trial name               status       batch_size     lr |
+---------------------------------------------------------+
| TrainMNIST_d4276_00000   PENDING              16      1 |
| TrainMNIST_d4276_00001   PENDING              32      1 |
| TrainMNIST_d4276_00002   PENDING              64      1 |
| TrainMNIST_d4276_00003   PENDING             128      1 |
| TrainMNIST_d4276_00004   PENDING             256      1 |
+---------------------------------------------------------+
195 more PENDING
(TrainMNIST pid=850) Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
(TrainMNIST pid=850) Failed to download (trying next):
(TrainMNIST pid=850) HTTP Error 403: Forbidden
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz to /root/data/MNIST/raw/train-images-idx3-ubyte.gz
  0%|          | 0/9912422 [00:00<?, ?it/s]
  1%|          | 65536/9912422 [00:00<00:18, 525697.78it/s]
  2%|▏         | 196608/9912422 [00:00<00:11, 820402.81it/s]
  7%|▋         | 688128/9912422 [00:00<00:04, 2207103.31it/s]
 23%|██▎       | 2260992/9912422 [00:00<00:01, 6200564.23it/s]
100%|██████████| 9912422/9912422 [00:00<00:00, 15311955.73it/s]
(TrainMNIST pid=850) Extracting /root/data/MNIST/raw/train-images-idx3-ubyte.gz to /root/data/MNIST/raw
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz
(TrainMNIST pid=850) Failed to download (trying next):
(TrainMNIST pid=850) HTTP Error 403: Forbidden
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/train-labels-idx1-ubyte.gz
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/train-labels-idx1-ubyte.gz to /root/data/MNIST/raw/train-labels-idx1-ubyte.gz
  0%|          | 0/28881 [00:00<?, ?it/s]
100%|██████████| 28881/28881 [00:00<00:00, 450953.92it/s]
(TrainMNIST pid=850) Extracting /root/data/MNIST/raw/train-labels-idx1-ubyte.gz to /root/data/MNIST/raw
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz
(TrainMNIST pid=850) Failed to download (trying next):
(TrainMNIST pid=850) HTTP Error 403: Forbidden
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/t10k-images-idx3-ubyte.gz
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/t10k-images-idx3-ubyte.gz to /root/data/MNIST/raw/t10k-images-idx3-ubyte.gz
  0%|          | 0/1648877 [00:00<?, ?it/s]
  4%|▍         | 65536/1648877 [00:00<00:03, 516045.65it/s]
 18%|█▊        | 294912/1648877 [00:00<00:01, 1270899.86it/s]
100%|██████████| 1648877/1648877 [00:00<00:00, 4290494.75it/s]
(TrainMNIST pid=850) Extracting /root/data/MNIST/raw/t10k-images-idx3-ubyte.gz to /root/data/MNIST/raw
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz
(TrainMNIST pid=850) Failed to download (trying next):
(TrainMNIST pid=850) HTTP Error 403: Forbidden
(TrainMNIST pid=850) 
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/t10k-labels-idx1-ubyte.gz
(TrainMNIST pid=850) Downloading https://ossci-datasets.s3.amazonaws.com/mnist/t10k-labels-idx1-ubyte.gz to /root/data/MNIST/raw/t10k-labels-idx1-ubyte.gz
(TrainMNIST pid=850) Extracting /root/data/MNIST/raw/t10k-labels-idx1-ubyte.gz to /root/data/MNIST/raw
(TrainMNIST pid=850) 

Trial TrainMNIST_d4276_00000 started with configuration:
+--------------------------------------------+
| Trial TrainMNIST_d4276_00000 config        |
+--------------------------------------------+
| batch_size                              16 |
| lr                                       1 |
+--------------------------------------------+
100%|██████████| 4542/4542 [00:00<00:00, 11206193.39it/s]
(TrainMNIST pid=850) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/root/ray_results/TrainMNIST_2024-08-26_12-58-02/TrainMNIST_d4276_00000_0_batch_size=16,lr=1_2024-08-26_12-58-05/checkpoint_000000)

Trial TrainMNIST_d4276_00000 completed after 5 iterations at 2024-08-26 12:58:31. Total running time: 27s

You need to customize the implementation of a TuneReporterBase class,and can delete information you don’t want to display.