Skip to content

Commit

Permalink
HPO.md typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Gaglione committed Mar 10, 2024
1 parent 42a8e5f commit 83e5441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added docs/tutorials/.ddp.md.swp
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/tutorials/HPO.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ with mlflow.start_run():
```
Note that one could also create an MLflow run for each individual trial by wrapping the `objective` function in an MLflow run as follows:

```
```python
def objective(trial):

#start MLflow run
Expand Down Expand Up @@ -164,6 +164,7 @@ def objective(trial):
acc = ((100*correct)/(total+1))
return acc
```

{: .note }
Download the full script used in this example [here](https://github.com/accre/mltf/blob/main/docs/modelScripts/hpo_pytorch_singlegpu.py)

0 comments on commit 83e5441

Please sign in to comment.