bf8c6795779fbf225a6bbfefb5a53f9191e7440e,tensorboardX/summary.py,,make_video,#Any#Any#,321

Before Change



    // encode sequence of images into gif string
    clip = mpy.ImageSequenceClip(list(tensor), fps=fps)
    with tempfile.NamedTemporaryFile() as f:
        filename = f.name + ".gif"

    try:
        clip.write_gif(filename, verbose=False, progress_bar=False)
    except TypeError:
        clip.write_gif(filename, verbose=False)

After Change


    // encode sequence of images into gif string
    clip = mpy.ImageSequenceClip(list(tensor), fps=fps)

    filename = tempfile.NamedTemporaryFile(suffix=".gif", delete=False).name
    try:  // older version of moviepy does not support progress_bar argument.
        clip.write_gif(filename, verbose=False, progress_bar=False)
    except TypeError:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: lanpa/tensorboardX
Commit Name: bf8c6795779fbf225a6bbfefb5a53f9191e7440e
Time: 2019-05-13
Author: huang.dexter@gmail.com
File Name: tensorboardX/summary.py
Class Name:
Method Name: make_video


Project Name: tensorflow/minigo
Commit Name: c3c26e950e8893b2872e4430a1e39c5fc0739954
Time: 2019-10-25
Author: tmadams@google.com
File Name: dual_net.py
Class Name:
Method Name: freeze_graph


Project Name: probcomp/bayeslite
Commit Name: d82d33ff2716a3c97a9a8349e8e236ed35bd8a9e
Time: 2019-12-13
Author: fsaad@mit.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_json_ready_models