(grid, test=False)
| 161 | |
| 162 | |
| 163 | def log_image_table(grid, test=False): |
| 164 | column = "cond/target/sample" if not test else "cond/samples" |
| 165 | table = wandb.Table(columns=[column]) |
| 166 | for g in grid: |
| 167 | table.add_data(wandb.Image(g)) |
| 168 | return table |
| 169 | #wandb.log({"train_table":table}, commit=False) |
| 170 | |
| 171 | |
| 172 |