Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
•
c3e4c77
1
Parent(s):
2bf6d2f
Update utils.py
Browse files
utils.py
CHANGED
@@ -6,6 +6,8 @@ import os
|
|
6 |
import torch
|
7 |
import yaml
|
8 |
|
|
|
|
|
9 |
def show_torch_img(img):
|
10 |
img = to_np_image(img)
|
11 |
plt.imshow(img)
|
|
|
6 |
import torch
|
7 |
import yaml
|
8 |
|
9 |
+
# This file was copied from the DDPM inversion Repo - https://github.com/inbarhub/DDPM_inversion #
|
10 |
+
|
11 |
def show_torch_img(img):
|
12 |
img = to_np_image(img)
|
13 |
plt.imshow(img)
|