5e4adcd818ffb96955cc3e1962087435fce6d1df,magenta/models/music_vae/data.py,DrumsConverter,_to_tensors,#DrumsConverter#Any#,666

Before Change


          note_sequence, self._steps_per_quarter)
      if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
          self._steps_per_bar):
        return [], []
    except (mm.BadTimeSignatureException, mm.NonIntegerStepsPerBarException,
            mm.NegativeTimeException) as e:
      return [], []

After Change


        return ConverterTensors()
    except (mm.BadTimeSignatureException, mm.NonIntegerStepsPerBarException,
            mm.NegativeTimeException) as e:
      return ConverterTensors()

    new_notes = []
    for n in quantized_sequence.notes:
      if not n.is_drum:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: tensorflow/magenta
Commit Name: 5e4adcd818ffb96955cc3e1962087435fce6d1df
Time: 2018-02-15
Author: iansimon@users.noreply.github.com
File Name: magenta/models/music_vae/data.py
Class Name: DrumsConverter
Method Name: _to_tensors


Project Name: tensorflow/magenta
Commit Name: 5e4adcd818ffb96955cc3e1962087435fce6d1df
Time: 2018-02-15
Author: iansimon@users.noreply.github.com
File Name: magenta/models/music_vae/data.py
Class Name: TrioConverter
Method Name: _to_tensors


Project Name: tensorflow/magenta
Commit Name: 5e4adcd818ffb96955cc3e1962087435fce6d1df
Time: 2018-02-15
Author: iansimon@users.noreply.github.com
File Name: magenta/models/music_vae/data.py
Class Name: BaseConverter
Method Name: to_tensors


Project Name: tensorflow/magenta
Commit Name: 5e4adcd818ffb96955cc3e1962087435fce6d1df
Time: 2018-02-15
Author: iansimon@users.noreply.github.com
File Name: magenta/models/music_vae/data.py
Class Name: LegacyEventListOneHotConverter
Method Name: _to_tensors


Project Name: tensorflow/magenta
Commit Name: 5e4adcd818ffb96955cc3e1962087435fce6d1df
Time: 2018-02-15
Author: iansimon@users.noreply.github.com
File Name: magenta/models/music_vae/data.py
Class Name: BaseConverter
Method Name: _combine_to_tensor_results