387d7198a6029a2cf37363f03d1f67b6bc370c1f,labs/06/3d_recognition.py,Dataset,split,#Dataset#Any#,14

Before Change


            first._labels, second._labels = self._labels[:split], self._labels[split:]
        else:
            first._labels, second._labels = None, None
        first._permutation, second._permutation = np.random.permutation(len(first.voxels)), np.random.permutation(len(second.voxels))

        return first, second

After Change



        for dataset in [first, second]:
            dataset._shuffle_batches = self._shuffle_batches
            dataset._new_permutation()

        return first, second

    @property
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ufal/npfl114
Commit Name: 387d7198a6029a2cf37363f03d1f67b6bc370c1f
Time: 2018-04-04
Author: milan@strakovi.com
File Name: labs/06/3d_recognition.py
Class Name: Dataset
Method Name: split


Project Name: ufal/npfl114
Commit Name: 387d7198a6029a2cf37363f03d1f67b6bc370c1f
Time: 2018-04-04
Author: milan@strakovi.com
File Name: labs/06/3d_recognition.py
Class Name: Dataset
Method Name: __init__


Project Name: ufal/npfl114
Commit Name: 387d7198a6029a2cf37363f03d1f67b6bc370c1f
Time: 2018-04-04
Author: milan@strakovi.com
File Name: labs/06/3d_recognition.py
Class Name: Dataset
Method Name: epoch_finished