-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d22127e
commit 78e29dd
Showing
13 changed files
with
115 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+49 KB
extension/resources/walkthrough/images/available-commands-command-palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.2 KB
extension/resources/walkthrough/images/install-dvc-status-bar-detected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.5 KB
extension/resources/walkthrough/images/setup-project-dump-metrics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20 KB
extension/resources/walkthrough/images/setup-project-dvc-yaml-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.7 KB
extension/resources/walkthrough/images/setup-project-dvclive-metrics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
# Install DVC | ||
|
||
There are quite a few options for installing `DVC`. This extension supports | ||
various installation types. See the `Setup The Workspace` step for more details. | ||
There are a few [options](https://dvc.org/doc/install) for installing `DVC`. | ||
This extension supports all installation types. | ||
|
||
To install the latest version of `DVC` follow your platform specific guide on | ||
[dvc.org](https://dvc.org/doc/install). | ||
To verify the installation run `dvc -h` in a | ||
[Terminal](command:workbench.action.quickOpen?%22>Create%20New%20Terminal%22). | ||
|
||
To verify the installation run `dvc -h` in your terminal of choice. | ||
If DVC is installed as a global binary or in a Python virtual environment, | ||
extension should detect it automatically and you should see a DVC icon like this | ||
in the status bar: | ||
|
||
**Note**: Use `Terminal: Create New Terminal` from the Command Palette to create | ||
a new | ||
[integrated terminal](https://code.visualstudio.com/docs/editor/integrated-terminal). | ||
<p align="center"> | ||
<img src="images/install-dvc-status-bar-detected.png" | ||
alt="DVC icon in the status bar" /> | ||
</p> | ||
|
||
If you see instead the crossed circle icon, use the | ||
[Setup Workspace](command:dvc.setupWorkspace) wizard to manually select the | ||
right environment: | ||
|
||
<p align="center"> | ||
<img src="images/install-dvc-setup-wizard.png" alt="DVC Setup Wizard" /> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Setup DVC Project | ||
|
||
> Skip this step if you already have a DVC project with metrics, plots, and | ||
> params. | ||
💡 Check the [Get Started](https://github.com/iterative/example-get-started) and | ||
[VS Code Demo](https://github.com/iterative/vscode-dvc/tree/main/demo) projects | ||
to quickly try the extension. | ||
|
||
To setup the project run | ||
[`dvc exp init`](https://dvc.org/doc/command-reference/exp/init#example-interactive-mode) | ||
in a | ||
[Terminal](command:workbench.action.quickOpen?%22>Create%20New%20Terminal%22). | ||
|
||
It will generate a config file `dvc.yaml` that describes the project, and can | ||
look like this: | ||
|
||
<p align="center"> | ||
<img src="images/setup-project-dvc-yaml-example.png" alt="dvc.yaml example" /> | ||
</p> | ||
|
||
💡 Names, values in this file are project dependent and can customized. | ||
|
||
DVC and this extension read experiments data from these files (`metrics.json`, | ||
`params.yaml`, etc). You need to instrument your code to start writing / reading | ||
them (example is in Python, but it can be done in any language): | ||
|
||
<p align="center"> | ||
<img src="images/setup-project-dump-metrics.png" | ||
alt="Dump JSON metrics file" /> | ||
</p> | ||
|
||
Or alternatively using the [`DVCLive`](https://dvc.org/doc/dvclive) Python | ||
library that can read / write a lot of different common metrics and plots: | ||
|
||
<p align="center"> | ||
<img src="images/setup-project-dvclive-metrics.png" | ||
alt="DVCLive: dump metrics" /> | ||
</p> |
This file was deleted.
Oops, something went wrong.
File renamed without changes.