# Define the names of the columns in your Table
column_names = ["image_id", "image", "label", "prediction"]
# Prepare your data, row-wise
# You can log filepaths or image tensors with wandb.Image
['img_0.jpg', wandb.Image("data/images/img_0.jpg"), 0, 0],
['img_1.jpg', wandb.Image("data/images/img_1.jpg"), 8, 0],
['img_2.jpg', wandb.Image("data/images/img_2.jpg"), 7, 1],
['img_3.jpg', wandb.Image("data/images/img_3.jpg"), 1, 1]
val_table = wandb.Table(data=my_data, columns=column_names)
wandb.log({'my_val_table': val_table})