wandb: [App]: Can't log table - won't show up in Run Tables

Current Behavior

I am trying to log a dataset from a Jupyter notebook as a Table. When I run the code it creates a Table in my Workspace but says “No rows to display” instead of showing the data I tried to log. However, I can tell that the data is passed to WandB because if I navigate to Files/media/table and download the .json file located there I can see the data I am trying to pass in the .json file. To make sure it wasn’t my code causing issues I tried running this sample notebook https://colab.research.google.com/github/wandb/examples/blob/master/colabs/tables/W%26B_Tables_Quickstart.ipynb and still was not able to see the table populated for the runs I did. tableissues

Expected Behavior

I am expecting to see the Iris dataset from the example notebook linked above populated into the Table created by running this code.

Steps To Reproduce

  1. Run the notebook linked in Current Behavior
  2. Check if the table is created as expected in the WandB web application

Screenshots

.json file found under Files: jsonfile

Screenshot of notebook used: notebook

Environment

OS: Windows 10

Browsers: Google Chrome

Version: 0.13.10

Additional Context

I am using Weights and Biases through Run.AI so perhaps something about this setup is causing this issue. Normal Keras training logging is working as expected. So far it’s only the Tables that I have seen not work.

About this issue

Most upvoted comments

I seem to be having a similar issue. I am running a training script (not a notebook) and initialize and populate the table as below:

# setup wandb config
if args.use_wandb:
   run_name = f"{args.model_version}_{args.max_num_frames}_{args.img_res}"
   wandb_run = wandb.init(
       project=f"{args.project}_transformers",
       config=args_dict,
       name=run_name,
   )
   wandb_logging_steps = global_iters_per_epoch // 10
else:
   wandb_run = None

later

if args.use_wandb:
    columns = ["image_path", "gt_caption", "pred_caption"]
    table = wandb.Table(data=wandb_data, columns=columns)
    wandb_run.log({"examples": table}, step=global_step)

where wandb_data is a list of lists, as in the documentation.

As in the OP, the table data shows up in “artifacts” under “files” in the UI, but the table inside the “runs” will not populate: image

Having the same problem. I noticed earlier that the table would populate after a run finishes, but while the run is active the table only contains the above mentioned message “No rows to display”.

pmpd Workspace – Weights   Biases - Google Chrome_001

If I navigate to the the table under artifacts it does render correctly, however it makes it difficult to compare different runs as the bars for each key in the combined table view are the same color.

pmpd Artifacts – Weights   Biases - Google Chrome_001