16041a6117c6e4b360fe88258c4fc8f55f53669b,tests/test_summary.py,SummaryTest,test_video,#SummaryTest#,59

Before Change


            import moviepy
        except ImportError:
            return
        np.random.seed(0)
        compare_proto(summary.video("dummy", np.random.rand(4, 3, 1, 8, 8).astype(np.float32)), self)
        summary.video("dummy", np.random.rand(16, 48, 1, 28, 28).astype(np.float32))
        summary.video("dummy", np.random.rand(20, 7, 1, 8, 8).astype(np.float32))

    def test_audio(self):

After Change


        except ImportError:
            return
        compare_proto(summary.video("dummy", tensor_N(shape=(4, 3, 1, 8, 8))), self)
        summary.video("dummy", tensor_N(shape=(16, 48, 1, 28, 28)))
        summary.video("dummy", tensor_N(shape=(20, 7, 1, 8, 8)))

    def test_audio(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: lanpa/tensorboardX
Commit Name: 16041a6117c6e4b360fe88258c4fc8f55f53669b
Time: 2019-06-07
Author: huang.dexter@gmail.com
File Name: tests/test_summary.py
Class Name: SummaryTest
Method Name: test_video


Project Name: lanpa/tensorboardX
Commit Name: 16041a6117c6e4b360fe88258c4fc8f55f53669b
Time: 2019-06-07
Author: huang.dexter@gmail.com
File Name: tests/test_summary.py
Class Name: SummaryTest
Method Name: test_video


Project Name: lanpa/tensorboardX
Commit Name: 16041a6117c6e4b360fe88258c4fc8f55f53669b
Time: 2019-06-07
Author: huang.dexter@gmail.com
File Name: tests/test_summary.py
Class Name: SummaryTest
Method Name: test_image_with_3_channel_batched


Project Name: lanpa/tensorboardX
Commit Name: 16041a6117c6e4b360fe88258c4fc8f55f53669b
Time: 2019-06-07
Author: huang.dexter@gmail.com
File Name: tests/test_summary.py
Class Name: SummaryTest
Method Name: test_image_with_one_channel_batched