image = np.random.randint(low=0, high=256, size=(200, 300, 3))
class_set = wandb.Classes([
{"name" : "person", "id" : 0},
{"name" : "car", "id" : 1},
{"name" : "road", "id" : 2},
{"name" : "building", "id" : 3}
img = wandb.Image(image, boxes={
# one box expressed in the default relative/fractional domain
"box_caption": class_labels[1],
# another box expressed in the pixel domain
"box_caption": "a building",
# Log as many boxes an as needed
"class_labels": class_labels
table = wandb.Table(columns=["image"])
wandb.log({"driving_scene": table})