You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utils/migration_tools/from_wandb/README.md
+28-25Lines changed: 28 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
This script allows you to copy run metadata from Weights and Biases to Neptune `2.x`.
4
4
5
5
## Prerequisites
6
+
6
7
- A Weights and Biases account, `wandb` library installed, and environment variables set.
7
8
- A neptune.ai account, `neptune` python library installed, and environment variables set. Read the [docs](https://docs-legacy.neptune.ai/setup/installation/) to learn how to set up your installation.
8
9
@@ -16,30 +17,30 @@ To use the script, follow these steps:
16
17
1. Enter the number of workers to use to copy the metadata. Leave blank to let `ThreadPoolExecutor` decide.
17
18
1. Enter the W&B projects you want to export as comma-separated values. Leave blank to export all projects.
18
19
1. The script will generate run logs in the working directory. You can change the directory with `logging.basicConfig()`. Live progress bars will also be rendered in the console.
19
-
1. Neptune projects corresponding to the W&B projects will be created with [*workspace*](https://docs-legacy.neptune.ai/about/workspaces_and_projects/#privacy-and-access-control) visibility if they don't exist. You can change the visibility later [from the WebApp](https://docs-legacy.neptune.ai/management/changing_project_privacy/) once the project has been created, or by updating L339 in the script.
20
-
1. The project description will be set as *Exported from <W&B project URL>*. You can change the description later [from the WebApp](https://docs-legacy.neptune.ai/setup/creating_project/#creating-a-project) once the project has been created, or by updating L338 in the script.
20
+
1. Neptune projects corresponding to the W&B projects will be created with [_private_](https://docs-legacy.neptune.ai/about/workspaces_and_projects/#privacy-and-access-control) visibility if they don't exist. You can change the visibility later [from the WebApp](https://docs-legacy.neptune.ai/management/changing_project_privacy/) once the project has been created, or by updating L319 in the script.
21
+
1. The project description will be set as _Exported from <W&B project URL>_. You can change the description later [from the WebApp](https://docs-legacy.neptune.ai/setup/creating_project/#creating-a-project) once the project has been created, or by updating L338 in the script.
21
22
22
23
## Metadata mapping from W&B to Neptune
23
24
24
-
| Metadata |W&B |Neptune |
25
-
| :-: | :-: | :-: |
26
-
| Project name |example_project |example-project<sup>1</sup> |
27
-
| Project URL |project.url |project.wandb_url |
28
-
| Run name |run.name |run.sys.name |
29
-
| Run ID |run.id |run.sys.custom_run_id<sup>2</sup> |
30
-
| Notes |run.notes |run.sys.description |
31
-
| Tags |run.tags |run.sys.tags |
32
-
| Group |run.group |run.sys.group_tags |
33
-
| Config |run.config |run.config<sup>3</sup> |
34
-
| Run summary |run.summary |run.summary<sup>3</sup> |
35
-
| Run metrics |run.scan_history() |run.<METRIC_NAME><sup>4</sup> |
36
-
| System metrics | run.history(stream="system") | run.monitoring.<METRIC_NAME><sup>5</sup> |
37
-
| System logs |output.log |run.monitoring.stdout |
| Model checkpoints |\*.ckpt/\*checkpoint\*|run.checkpoints|
42
+
|Other files |run.files() |run.files|
43
+
| All W&B attributes |run.\*|run.wandb.\*|
43
44
44
45
<sup>1</sup> Underscores `_` in a W&B project name are replaced by a hyphen `-` in Neptune
45
46
<sup>2</sup> Passing the wandb.run.id as neptune.run.custom_run_id ensures that duplicate Neptune runs are not created for the same W&B run even if the script is run multiple times
@@ -48,6 +49,7 @@ To use the script, follow these steps:
48
49
<sup>5</sup> `system.` prefix is removed when logging to Neptune
49
50
50
51
## What is not exported
52
+
51
53
- Models
52
54
- W&B specific objects and data types
53
55
-`run.summary` keys starting with `_`†
@@ -57,11 +59,12 @@ To use the script, follow these steps:
57
59
† These have been excluded at the code level to prevent redundancy and noise, but can be included.
58
60
59
61
## Post-migration
60
-
* W&B Workspace views can be recreated using Neptune's [overlaid charts](https://docs-legacy.neptune.ai/app/charts/) and [reports](https://docs-legacy.neptune.ai/app/reports/)
61
-
* W&B Runs table views can be recreated using Neptune's [custom views](https://docs-legacy.neptune.ai/app/experiments/#custom-views)
62
+
63
+
- W&B Workspace views can be recreated using Neptune's [overlaid charts](https://docs-legacy.neptune.ai/app/charts/) and [reports](https://docs-legacy.neptune.ai/app/reports/)
64
+
- W&B Runs table views can be recreated using Neptune's [custom views](https://docs-legacy.neptune.ai/app/experiments/#custom-views)
62
65

63
-
* W&B Run Overview can be recreated using Neptune's [custom dashboards](https://docs-legacy.neptune.ai/app/custom_dashboard/)
64
-

66
+
- W&B Run Overview can be recreated using Neptune's [custom dashboards](https://docs-legacy.neptune.ai/app/custom_dashboard/)
67
+

0 commit comments