Skip to content

Commit

Permalink
Restyled by prettier (#2608)
Browse files Browse the repository at this point in the history
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
restyled-io[bot] and restyled-commits authored Jul 5, 2021
1 parent 66505f2 commit 6b48980
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions content/docs/start/experiments-trail/experiments-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ $ python -m pip install -r requirements.txt

The repository you cloned doesn't contain the dataset. In order to get
`fashion-mnist.tar.gz` from the `dataset-registry`, we use `dvc pull` to update
the missing data files. `dvc pull` is used in DVC repositories to update the missing data dependencies.
the missing data files. `dvc pull` is used in DVC repositories to update the
missing data dependencies.

```dvc
$ dvc pull
Expand Down Expand Up @@ -194,23 +195,30 @@ $ git commit -m "Successful experiment"

### Preparing an experiments pipeline

At the beginning of this document, we assumed that there is already a configured DVC project to simplify the introduction. DVC experiments are a feature added in DVC 2.0 and requires a DVC pipeline is defined in the project. In this section we'll show how to configure a project to run DVC experiments. You can get detailed information about these commands in other sections of DVC documentation.
At the beginning of this document, we assumed that there is already a configured
DVC project to simplify the introduction. DVC experiments are a feature added in
DVC 2.0 and requires a DVC pipeline is defined in the project. In this section
we'll show how to configure a project to run DVC experiments. You can get
detailed information about these commands in other sections of DVC
documentation.

If DVC is not initialized before in the project, you can do so by:

```dvc
$ dvc init
```

DVC also requires commands to be run and their dependencies to be defined as stages. We use `dvc stage add` to add a stage and set its dependencies.
DVC also requires commands to be run and their dependencies to be defined as
stages. We use `dvc stage add` to add a stage and set its dependencies.

```dvc
$ dvc stage add
TK
```

Note that the parameters (added with `-p`) are in the default parameters file `params.yaml` and used in the code as normal, by reading the file. DVC only tracks the changes and updates them with `--set-param`.

Note that the parameters (added with `-p`) are in the default parameters file
`params.yaml` and used in the code as normal, by reading the file. DVC only
tracks the changes and updates them with `--set-param`.

## Go Further

Expand Down

0 comments on commit 6b48980

Please sign in to comment.