Project setup and integration

3-Step AimHub Project Setup

https://www.notion.so/aimstack/3-step-AimHub-project-setup-02456dfc95224e40a7249a6ce378d5bcIntegrating AimHub to your Aim code is straightforward.

Step 1. Install aimhub-client

the aimhub-client is the same interface as aim, but that also can authenticate with the remote Aim server.

pip install aimhub-client

Authenticate to AimHub

Input your login and password to authenticate to the AimHub.

aim login <AIMHUB-BASE-URL>

Integrate the tracking URL to code

Copy the tracking URL from your

Add the tracking URL to your code and off you go.

from aim import Run

run = Run(repo="COPIED_TRACKING_URL")

# set training hyperparameters
run['hparams'] = {
    'learning_rate': 0.001,
    'batch_size': 32,
}

# log metric
for i in range(10):
    run.track(i, name='numbers')

Last updated