35377d296d2b483a848758ded381cd50f26e98fd,magenta/models/performance_rnn/performance_rnn_generate.py,,run_with_flags,#Any#,153

Before Change


        generate_section.start_time, generate_end_time)
    return

  if (FLAGS.notes_per_second is not None and
      not generator.note_density_conditioning):
    tf.logging.warning(
        "Notes per second requested via flag, but generator is not set up to "
        "condition on note density. Requested note density will be ignored: %s",
        FLAGS.notes_per_second)

  if (FLAGS.pitch_class_histogram is not None and
      not generator.pitch_histogram_conditioning):
    tf.logging.warning(
        "Pitch class histogram requested via flag, but generator is not set up "

After Change


  for control_cls in magenta.music.all_performance_control_signals:
    if FLAGS[control_cls.name].value is not None and (
        generator.control_signals is None or not any(
            control.name == control_cls.name
            for control in generator.control_signals)):
      tf.logging.warning(
          "Control signal requested via flag, but generator is not set up to "
          "condition on this control signal. Request will be ignored: %s = %s",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorflow/magenta
Commit Name: 35377d296d2b483a848758ded381cd50f26e98fd
Time: 2018-05-01
Author: iansimon@users.noreply.github.com
File Name: magenta/models/performance_rnn/performance_rnn_generate.py
Class Name:
Method Name: run_with_flags


Project Name: pfnet/optuna
Commit Name: 32f2649c5cda9acca3354e3246d798d8e0cec5dc
Time: 2020-07-04
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/storages/_rdb/storage.py
Class Name: RDBStorage
Method Name: _get_trials


Project Name: home-assistant/home-assistant
Commit Name: 2a210607d392cac85bb82dd576877ddb192c85c5
Time: 2018-08-16
Author: prokhorov.max@outlook.com
File Name: homeassistant/components/wemo.py
Class Name:
Method Name: setup