Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dome272/Diffusion-Models-pytorch
/ plot_images
Function
plot_images
utils.py:9–14 ·
view source on GitHub ↗
(images)
Source
from the content-addressed store, hash-verified
7
8
9
def
plot_images(images):
10
plt.figure(figsize=(32, 32))
11
plt.imshow(torch.cat([
12
torch.cat([i
for
i in images.cpu()], dim=-1),
13
], dim=-2).permute(1, 2, 0).cpu())
14
plt.show()
15
16
17
def
save_images(images, path, **kwargs):
Callers
1
train
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected