MCPcopy Create free account
hub / github.com/MegaScenes/nvs / log_image_table

Function log_image_table

train.py:163–169  ·  view source on GitHub ↗
(grid, test=False)

Source from the content-addressed store, hash-verified

161
162
163def 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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected