Skip to content

feat: hook into wandb #14

@rorybyrne

Description

@rorybyrne

Obviously, wandb does similar things to this tool. It might be interesting to hook into wandb with a monkeypatch or something, so that wandb users can get logis commits in their git log without having to change their code.

Something like:

import wandb
import logis

logis.init_wandb(wandb)  # <------ this should do magic

# Start a W&B Run with wandb.init
run = wandb.init(project="my_first_project")

# Save model inputs and hyperparameters in a wandb.config object
config = run.config
config.learning_rate = 0.01

# Model training code here ...

# Log metrics over time to visualize performance with wandb.log
for i in range(10):
    run.log({"loss": ...})

# Mark the run as finished, and finish uploading all data
run.finish()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions