We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c16b42 commit 98f1efcCopy full SHA for 98f1efc
captum/attr/_core/latent_shift.py
@@ -264,7 +264,7 @@ def generate_video(
264
verbose: True to print debug text
265
extra_loops: The video does one loop by default. This will repeat
266
those loops to make it easier to watch.
267
- cmap: The cmap value passed to matplotlib. e.g. 'gray' for a
+ cmap: The cmap value passed to matplotlib. e.g. 'gray' for a
268
grayscale image.
269
270
Returns:
@@ -283,7 +283,7 @@ def generate_video(
283
# Add reversed so we have an animation cycle
284
towrite = list(reversed(imgs)) + list(imgs)
285
ys = list(reversed(params["preds"])) + list(params["preds"])
286
-
+
287
for n in range(extra_loops):
288
towrite += towrite
289
ys += ys
0 commit comments