-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Q] Logging Pytorch Images with wandb.Table() #7504
Comments
Note the length of the list is 4, so that is where 4 is coming from |
hey @GrandArth - what wandb SDK version are you running? looking into reproducing this on my end |
maybe you need |
hey @GrandArth - you can add this to add the data row by row:
and this should log the table. I tested this out on my end and this worked with 0.17.0 |
Hi @GrandArth, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know! |
WandB Internal User commented: |
I am trying to log images during training process, I followed info on "https://docs.wandb.ai/guides/integrations/pytorch" this page.
My codes looks like this:
But as soon as
image_table.add_column("Low Res Image", lr_images_list)
executes, it outputs:low_res_images
is a pytorch tensor, I am trying to turn them back to PIL and then log them in wandb, however, i couldn't get it to run.I also tried something like:
But it gives
TypeError: Object of type Image is not JSON serializable
.What went wrong?
Any insight is appreciated!
The text was updated successfully, but these errors were encountered: