File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed
content/docs/command-reference Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,11 @@ lists all the current metrics without comparisons.
41
41
42
42
## Options
43
43
44
- - ` --targets <paths> ` - limit command scope to these metric files. Using -R,
45
- directories to search metric files in can also be given. When specifying
46
- arguments for ` --targets ` before ` revisions ` , you should use ` -- ` after this
47
- option's arguments, e.g.:
44
+ - ` --targets <paths> ` - limit command scope to these metrics files (supports any
45
+ file, even when not found as ` metrics ` in ` dvc.yaml ` ). Using ` -R ` , directories
46
+ to search metric files in can also be given. When specifying arguments for
47
+ ` --targets ` before ` revisions ` , you should use ` -- ` after this option's
48
+ arguments, e.g.:
48
49
49
50
``` dvc
50
51
$ dvc metrics diff --targets t1.json t2.yaml -- HEAD v1
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ Finds and prints all metrics in the <abbr>project</abbr> by examining all of its
22
22
> This kind of metrics can be defined with the ` -m ` (` --metrics ` ) and ` -M `
23
23
> (` --metrics-no-cache ` ) options of ` dvc run ` .
24
24
25
- If ` targets ` are provided, it will show those specific metric files instead.
26
- With the ` -a ` or ` -T ` options, this command shows the different metrics values
27
- across all Git branches or tags, respectively. With the ` -R ` option, some of the
28
- target can even be directories, so that DVC recursively shows all metric files
29
- inside.
25
+ If ` targets ` are provided, it will show those specific files instead, even if
26
+ they are not marked as ` metric ` type in ` dvc.yaml ` . With the ` -a ` or ` -T `
27
+ options, this command shows the different metrics values across all Git branches
28
+ or tags, respectively. With the ` -R ` option, some of the target can even be
29
+ directories, so that DVC recursively shows all metric files inside.
30
30
31
31
An alternative way to display metrics is the ` dvc metrics diff ` command, which
32
32
compares them with a previous version.
Original file line number Diff line number Diff line change @@ -45,9 +45,8 @@ please see `dvc plots`.
45
45
46
46
## Options
47
47
48
- - ` --targets <path> ` - specific metric files to visualize. These must be listed
49
- in a [ ` dvc.yaml ` ] ( /doc/user-guide/dvc-files-and-directories#dvcyaml-file ) file
50
- (see the ` --plots ` option of ` dvc run ` ). When specifying arguments for
48
+ - ` --targets <path> ` - specific metric files to visualize (supports any file,
49
+ even when not found as ` plots ` in ` dvc.yaml ` ). When specifying arguments for
51
50
` --targets ` before ` revisions ` , you should use ` -- ` after this option's
52
51
arguments, e.g.:
53
52
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ This command provides a quick way to visualize metrics such as loss functions,
22
22
AUC curves, confusion matrices, etc. All plots defined in ` dvc.yaml ` are used by
23
23
default.
24
24
25
- Optionally, specific metric file ` targets ` to show are accepted. These must be
26
- listed in a ` dvc.yaml ` file (see the ` -- plots` option of ` dvc run ` ) .
25
+ Optionally, specific metric file ` targets ` to show are accepted. They do not not
26
+ have to be specified as ` plots ` in ` dvc.yaml ` .
27
27
28
28
The plot style can be customized with
29
29
[ plot templates] ( /doc/command-reference/plots#plot-templates ) , using the
You can’t perform that action at this time.
0 commit comments