在一组配置上运行tune.run()
以进行搜索时,是否可以向正在打印的状态表添加更多指标列(即,等)a
?b
tune.track.log(a=metric1, b=metric2)
将给出下表,其中不包含指标a
和列b
:
== Status ==
Memory usage on this node: 22.1/125.8 GiB
Using FIFO scheduling algorithm.
Resources requested: 1/32 CPUs, 1/4 GPUs, 0.0/65.59 GiB heap, 0.0/22.13 GiB objects
Result logdir: /home/nyxynyx/ray_results/fooba
Number of trials: 4 (3 PENDING, 1 RUNNING)
+--------------+----------+-------+------+-----+
| Trial name | status | loc | lr | x |
|--------------+----------+-------+------+-----|
| fooba_00000 | RUNNING | | 0.01 | 1 |
| fooba_00001 | PENDING | | 0.1 | 1 |
| fooba_00002 | PENDING | | 0.01 | 5 |
| fooba_00003 | PENDING | | 0.1 | 5 |
+--------------+----------+-------+------+-----+
tune.track.log()
我们如何为传递给除 之外的每个指标包含一列mean_accuracy
?
使用 Python 3.7.3 和 Ray 0.8.4