MCPcopy Create free account

hub / github.com/ValentinVignal/midiGenerator / functions

Functions815 in github.com/ValentinVignal/midiGenerator

Methodfeed_model
to be run on step_end model_outputs.append(current_model_part) current_model_part = next_model_part next_model_part
src/Midi/Player/BandPlayer.py:217
Methodfind_best_index
(self)
src/NN/Callbacks/LossHistory.py:43
Methodfit
(self, x=None, y=None, in_training=1, **kwargs)
src/NN/in_training.py:28
Methodfit_generator
(self, generator, in_training=1, **kwargs)
src/NN/in_training.py:43
Functionfitness
From all the inputs == dimensions of the bayesian optimization, it creates a model, train it, add return its negative accuracy (skopt
bayesian-opt.py:283
Functionfrom_checkpoint
:param path: :return:
src/BayesianOpt/load.py:5
Methodfrom_config
(cls, *args, **kwargs)
src/NN/layers/KerasLayer.py:14
Methodfrom_config
(self)
src/NN/layers/attention.py:72
Methodfull_name
(self)
src/MidiGenerator/MGInit.py:103
Methodfull_name_i
(self)
src/MidiGenerator/MGInit.py:76
Methodfull_name_no_i
(self)
src/MidiGenerator/MGInit.py:111
Functionfull_pip_freeze
()
simpleWorkingScripts/diagnose_tensorboard.py:435
Functiongeneral
()
simpleWorkingScripts/diagnose_tensorboard.py:159
Functiongenerate
For the file generate.py :param args: :return:
src/Args/preprocess.py:96
Methodgenerate
:param input: :return: The "usefull" outputs of the neural network == List(nb_instruments)[instrument_output]
src/NN/KerasNeuralNetwork.py:466
Methodgenerate
Same as predict but without messing output :param x: :param args: :param kwargs: :return:
src/NN/Models/RRMVAEMono/RRMVAEMono.py:23
Methodgenerate
Same as predict but without messing output :param x: :param args: :param kwargs: :return:
src/NN/Models/RMVAEMono/RMVAEMono.py:23
Methodgenerate_fill
:param max_length: :param no_duration: :param verbose: :return:
src/MidiGenerator/MGGenerate.py:205
Methodgenerate_from_array
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:259
Methodgenerate_from_data
Generate Midi file from the seed and the trained model :param nb_seeds: number of seeds for the generation :param length: Len
src/MidiGenerator/MGGenerate.py:61
Methodgenerate_from_noise
Generate Midi file from the seed and the trained model :param nb_seeds: number of seeds for the generation :param length: Len
src/MidiGenerator/MGGenerate.py:130
Functionget_activation
(x, activation_indice=-1)
src/NN/Loss/utils.py:8
Methodget_all_song
:param song_number: :param in_batch_format: :param with_mask: :return:
src/NN/Sequences/MissingInstSequence.py:84
Functionget_colors
:param n: the number of color to return :return: a list of colors with a length of n
src/Images/colors.py:5
Methodget_config
(self)
src/NN/layers/gnc.py:50
Methodget_config
(self)
src/NN/layers/coder3D.py:48
Methodget_config
(self)
src/NN/layers/coder3D.py:210
Methodget_config
(self)
src/NN/layers/coder3D.py:292
Methodget_config
(self)
src/NN/layers/vae.py:29
Methodget_config
(self)
src/NN/layers/vae.py:88
Methodget_config
(self)
src/NN/layers/vae.py:151
Methodget_config
(self)
src/NN/layers/vae.py:225
Methodget_config
(self)
src/NN/layers/vae.py:351
Methodget_config
(self)
src/NN/layers/vae.py:421
Methodget_config
(self)
src/NN/layers/shapes.py:38
Methodget_config
(self)
src/NN/layers/shapes.py:210
Methodget_config
(self)
src/NN/layers/shapes.py:272
Methodget_config
(self)
src/NN/layers/dense.py:29
Methodget_config
(self)
src/NN/layers/dense.py:83
Methodget_config
(self)
src/NN/layers/dense.py:136
Methodget_config
(self)
src/NN/layers/dense.py:230
Methodget_config
(self)
src/NN/layers/dense.py:260
Methodget_config
(self)
src/NN/layers/coder2D.py:48
Methodget_config
(self)
src/NN/layers/coder2D.py:218
Methodget_config
(self)
src/NN/layers/coder2D.py:305
Methodget_config
(self)
src/NN/layers/last.py:97
Methodget_config
(self)
src/NN/layers/last.py:151
Methodget_config
(self)
src/NN/layers/last.py:215
Methodget_config
(self)
src/NN/layers/attention.py:23
Methodget_config
(self)
src/NN/layers/rnn.py:146
Methodget_config
(self)
src/NN/layers/rnn.py:214
Methodget_config
(self)
src/NN/layers/rnn.py:269
Methodget_config
(self)
src/NN/layers/rnn.py:440
Methodget_config
(self)
src/NN/layers/conv.py:91
Methodget_config
(self)
src/NN/layers/conv.py:170
Methodget_config
(self)
src/NN/layers/conv.py:244
Methodget_config
(self)
src/NN/layers/music.py:28
Methodget_config
(self)
src/NN/layers/wrapper/l.py:47
Methodget_config
(self)
src/NN/layers/wrapper/l.py:83
Functionget_create
:param replicate: :param music: :return:
src/NN/Models/RRMVAEMono/RRMVAEMono.py:371
Functionget_create
:param replicate: :param music: :return:
src/NN/Models/RMVAEMono/RMVAEMono.py:310
Functionget_data_folder_path
:param args: :return:
src/GlobalVariables/path.py:4
Functionget_data_path
:param name: :param pc: :param transposed: :param mono: :return:
src/GlobalVariables/path.py:17
Functionget_duration
(x, duration_indice=-1)
src/NN/Loss/utils.py:12
Functionget_folder_path
:param name: The name of the future saved folder :type id: The id of an existing folder :return: the path to the folder to save the resu
src/BayesianOpt/save.py:9
Functionget_history_acc
:param history: :return: The total validation accuracy
bayesian-opt.py:123
Methodget_inputs
(self, index)
src/NN/in_training.py:78
Methodget_mask
(self, nb_instruments=None, batch_size=1)
src/MidiGenerator/MGComputeGeneration.py:160
Methodget_new_i
:return: set up a new unique full name and the corresponding path to save the trained model
src/MidiGenerator/MGLogistic.py:32
Methodget_sequence
:param test: :param kwargs: :return:
src/MidiGenerator/MGData.py:51
Functionget_shape
:param t: :param ax: :return:
src/NN/layers/shapes.py:9
Methodget_song_step
:param with_last_tensor: :param song_number: :param step_number: :param with_mask: :return:
src/NN/Sequences/MissingInstSequence.py:62
Methodget_song_step
:param song_number: :param step_number: :return: The input and output for the step of this
src/NN/Sequences/KerasSequence.py:337
Functionget_tensorboard_data
Get the scalar data from the tensorboard files :param path: path of the tensorboard folder :return: dict( train=dict(
src/tb.py:10
Functionget_train_valid_sequence
:param my_sequence: :param validation_split: :return:
src/NN/Sequences/TrainValSequence.py:21
Methodget_value
:param key: key in the dictionary "model_infos" :return: the value in model_infos or None if it doesn't exist
src/MidiGenerator/MidiGenerator.py:28
Functionharmony
:param args: :param l_semitone: :param l_tone: :param l_tritone: :param kwargs: :return:
src/NN/Loss/cost.py:147
Functionharmony
:param array: (instruments, size, length, channels) :param l1: :param l2: :param l6: :return: (length,)
src/res/eval/metrics.py:7
Functionhp_summary
:param args: :return:
src/Args/preprocess.py:130
Methodinput_size
(self)
src/MidiGenerator/MGInit.py:179
Functioninstalled_packages
()
simpleWorkingScripts/diagnose_tensorboard.py:179
Functionint_to_note
(integer)
src/Midi/create.py:163
Functionkld
:param sum_axis: axis to sum, if None, there is no sum :param mean: :param std: :return:
src/NN/Loss/cost.py:175
Methodlen
(self)
src/NN/Sequences/KerasSequence.py:88
Methodload_data
:return: load the data
src/MidiGenerator/MGData.py:12
Methodload_weights
:param id: id of the model to load :return: load the weights of a model
src/MidiGenerator/MGModel.py:92
Methodload_weights
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:311
Functionloss
(labels, logits)
simpleWorkingScripts/working_rnn.py:90
Functionmae_dur
mean squarred error :param y_true: :param y_pred: :return:
src/NN/Loss/metrics/metrics.py:31
Functionmae_duration
()
src/NN/Loss/metrics/metrics.py:30
Functionmatrix_to_midi
:param use_binary: :param mono: :param matrix: shape (nb_instruments, 128, nb_steps, 2) :param instruments: The instruments, :pa
src/Midi/create.py:175
Functionmidi_to_matrix
convert Midi file to matrix for DL architecture. :param transpose: :param notes_range: :param filename: path to the Midi file :pa
src/Midi/open.py:123
Functionmidi_to_matrix_bach
convert Midi file to matrix for DL architecture. :param notes_range: :param transpose: :param filename: path to the Midi file :pa
src/Midi/open.py:234
Functionmidinote_to_note
:param midinote: :param notes_range: :return:
src/Midi/create.py:277
Methodmodel_id
(self)
src/MidiGenerator/MGInit.py:56
Methodmodel_name
(self)
src/MidiGenerator/MGInit.py:127
Functionmono_scale
Add the scale and rhythm reward/cost :param take_all_steps_rhythm: :param l_scale: :param l_rhythm: :param args: :param kwarg
src/NN/Loss/losses.py:91
Functionn_scripts_bo
:param args: :return:
src/Args/preprocess.py:140
Methodname
(self)
src/MidiGenerator/MGInit.py:93
Methodnb_all_dims
:return: Number of all the parameters
src/BayesianOpt/Dimensions.py:26
← previousnext →601–700 of 815, ranked by callers