Skip to content

Commit c1b8c9e

Browse files
authored
Merge pull request #1 from karlic-luka/karlic-luka-patch_fix_adding_noise
Fix not returning the video with added noise
2 parents 47a860c + 2800318 commit c1b8c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tutorial12/tutorial-12-cdmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def get_video_dmd(
121121
if noise:
122122
vid += np.random.normal(0, noise_amt, vid.shape)
123123
vid = vid.clip(0, 1)
124-
return np.vstack(imgs).T, shape
124+
return vid, shape
125125

126126

127127
def get_video(object: str = "frog") -> np.ndarray:

0 commit comments

Comments
 (0)