Are you sure you want to delete this access key?
This tool automates the migration of machine learning (ML) experiment data from Weights & Biases (W&B) to DagsHub, leveraging MLflow for a seamless and unified experiment tracking experience. It enables researchers and ML engineers to efficiently transfer run data, including metrics, parameters, and artifacts, ensuring collaborative, transparent, and scalable project management.
Before running the project, ensure you have Python 3.8 or later installed. You'll also need to install the necessary Python packages:
pip install -r requirements.txt
This will install MLflow, DagsHub, Weights & Biases, tqdm, and other dependencies required for the script to run.
Set up your environment: Make sure you have access tokens or credentials set up for both Weights & Biases and DagsHub.
Prepare your command: The script accepts several command-line arguments to specify the source (Weights & Biases) and destination (DagsHub) for the migration:
wb_owner
: Owner of the W&B project.wb_project
: Name of the W&B project.dh_owner
: Owner of the DagsHub repository.dh_repo
: Name of the DagsHub repository.--run_id
(optional): Specific run ID from W&B to migrate. If not provided, all runs from the specified W&B project will be migrated.Execute the script: Run the script from your command line with the necessary arguments. Here's an example command:
python import_from_wb.py <wb_owner> <wb_project> <dh_owner> <dh_repo> --run_id <optional_run_id>
Replace <wb_owner>
, <wb_project>
, <dh_owner>
, <dh_repo>
, and <optional_run_id>
with your specific details.
We welcome contributions to this project! If you have suggestions for improvements or encounter any issues, please open an issue or submit a pull request.
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?