Skip to content

Commit 2641281

Browse files
authored
Integrate walkthrough with setup webview (#3026)
1 parent 084c978 commit 2641281

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@
14021402
{
14031403
"id": "dvc.installDVC",
14041404
"title": "Install DVC",
1405-
"description": "This extension requires DVC to be installed.\n\n[Install DVC](https://dvc.org/doc/install)\n",
1405+
"description": "This extension requires DVC to be installed.\n\n[Show Setup](command:dvc.showSetup)\n",
14061406
"media": {
14071407
"markdown": "resources/walkthrough/install-dvc.md"
14081408
},
@@ -1415,7 +1415,7 @@
14151415
{
14161416
"id": "dvc.setupProject",
14171417
"title": "Setup a DVC Project",
1418-
"description": "Try an example DVC project or setup a new quickly, and start tracking datasets, models, metrics, and plots\n\n[Example Project](https://github.com/iterative/example-get-started)\n",
1418+
"description": "Try an example DVC project or set one up quickly, and start tracking datasets, models, metrics, and plots\n\n[Example Project](https://github.com/iterative/example-get-started)\n",
14191419
"media": {
14201420
"markdown": "resources/walkthrough/setup-project.md"
14211421
},

extension/resources/walkthrough/install-dvc.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ DVC icon like this in the status bar:
1515
alt="DVC icon in the status bar" />
1616
</p>
1717

18-
If you see instead the crossed circle icon, use the
19-
[Setup Workspace](command:dvc.setupWorkspace) wizard to manually select the
20-
right environment:
21-
22-
<p align="center">
23-
<img src="images/install-dvc-setup-wizard.png" alt="DVC Setup Wizard" />
24-
</p>
18+
If you see instead the crossed circle icon, click on the icon or follow the
19+
[Setup](command:dvc.showSetup) wizard.
2520

2621
> **Note**: The correct Python interpreter must be set for the current workspace
2722
> when relying on the Python extension for auto environment activation.

extension/resources/walkthrough/setup-project.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ with open('metrics.json', 'w') as fd:
4040
json.dump({'avg_prec': avg_prec, 'roc_auc': roc_auc}, fd)
4141
```
4242

43-
Alternatively, use the [`DVCLive`](https://dvc.org/doc/dvclive) Python library,
44-
which can read and write a lot of different common metrics and plots:
43+
To DVC-ify an existing machine learning project use the
44+
[`DVCLive`](https://dvc.org/doc/dvclive) Python library, which can read and
45+
write a lot of different common metrics and plots:
4546

4647
```python
4748
from dvclive import Live
@@ -51,3 +52,8 @@ live = Live("evaluation")
5152
live.log("avg_prec", metrics.average_precision_score(labels, predictions))
5253
live.log("roc_auc", metrics.roc_auc_score(labels, predictions))
5354
```
55+
56+
💡 View
57+
[Instant Experiment Tracking: Just Add DVC!](https://iterative.ai/blog/exp-tracking-dvc-python)
58+
for a quick-start guide on migrating an existing project. Use
59+
[Setup](command:dvc.showSetup) to be guided through the onboarding process.

0 commit comments

Comments
 (0)