Log Weight and Biases runs

Vectice provides an easy way to retrieve already saved information from your Weight and Biases runs and document them into Vectice.

To log model information from Weight and Biases use the following lines of code:

# Use the following model wrapper to retrieve your W&B run artifacts
model = Model.wandb(run_id='your_run_path', client=wandb.Api, url='https://your_url.com')

# Log W&B artifacts in Vectice (Also works with autolog)
iteration.log(model)
Parameter
Description
Default

run_id

The full run path (entity/project/run_id).

required

client

A Weights & Biases wandb.Api instance used to access the run. If not provided, a default client will be created automatically.

optional

url

The URL to Weight and Biases UI to access the run information.

optional

derived_from

List of datasets (or version ids) to link as lineage.

optional

You can access your Weight and Biases run artifacts in Vectice where you will see the model version metrics, properties, and a link to the W&B UI of your run.

Find this information by navigating to Models > Select model name > Select version.

W&B Model Metrics and UI URL accessible in Vectice App
W&B Model propeties and attachments accessible in Vectice App

Last updated

Was this helpful?