fix example for plotting Ray Tune history (#14970)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
f8d7038fb3
commit
8564ff4c7c
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ You can plot the history of reported metrics for each trial to see how the metri
|
||||||
```python
|
```python
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
for result in result_grid:
|
for i, result in enumerate(result_grid):
|
||||||
plt.plot(
|
plt.plot(
|
||||||
result.metrics_dataframe["training_iteration"],
|
result.metrics_dataframe["training_iteration"],
|
||||||
result.metrics_dataframe["mean_accuracy"],
|
result.metrics_dataframe["mean_accuracy"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue