To record hyperparameters in VESSL experiments, set vessl.hp and update with vessl.hp.update as follows.

Option 1: record hyperparameters with Python dictionary

import vessl

d = {"lr": 0.1, "optimizer": "sgd"}
vessl.hp.update(d)

Option 2: record hyperparameters with Python argparse module

import argparse
import vessl

parser = argparse.ArgumentParser()
parser.add_argument('-n', '--num_layers', type=int, default=3)
args = parser.parse_args(args=[])

vessl.hp.update(args)