MCPcopy Create free account

hub / github.com/ValentinVignal/midiGenerator / functions

Functions815 in github.com/ValentinVignal/midiGenerator

↓ 38 callersMethodwarning_init_function
(function_name=None, subclass=None)
src/MidiGenerator/MGInit.py:212
↓ 25 callersMethodget_value_param
:param l: list of all the parameters value (changeable and not changeable ones) :param name: the name of the dimension :retu
src/BayesianOpt/Dimensions.py:86
↓ 25 callersFunctionstring_to_tuple
Get the tuple from the string given by the user :param separator: separator of the value in the string :param t: float, int or other type
src/BayesianOpt/process_args.py:20
↓ 23 callersFunctionstr_hp_to_print
:param name: :param value: :param exp_format: :param first_printed: :return: string which is pretty to print (to show current hp
bayesian-opt.py:137
↓ 19 callersMethodstart
:param start_time: :param on_time_step_begin_callbacks: :param on_time_step_end_callbacks: :param on_step_begin_call
src/Midi/Player/Metronome.py:53
↓ 18 callersMethodarray
(self)
src/Midi/Player/Controller.py:113
↓ 16 callersMethodbuild
:param inputs_shape: (batch, nb_steps, size) :return:
src/NN/layers/rnn.py:59
↓ 15 callersMethodbuild
(self, input_shape: t.bshape)
src/NN/layers/conv.py:46
↓ 14 callersMethodbuild
(self, input_shape)
src/NN/layers/dense.py:207
↓ 14 callersMethodcompute_generated_array
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:234
↓ 13 callersMethodadd_Categorical
Add Categorical dimension to the dimensions :param m_tuple: :param name: :return:
src/BayesianOpt/Dimensions.py:72
↓ 13 callersMethodbuild
(self, input_shape)
src/NN/layers/last.py:44
↓ 12 callersMethodadd_Real
Add the Real dimension to the dimensions But if the parameter is fixed, it only adds a categorical dimension with 1 choice :p
src/BayesianOpt/Dimensions.py:54
↓ 12 callersMethodget_type
:param argtype: :param t: :return:
src/Args/Parser.py:101
↓ 12 callersMethodreshape_generated_array
(*args, **kwargs)
src/MidiGenerator/MGInit.py:224
↓ 12 callersMethodset_weights_variables
Used to set the weights of a sublayers in a layers Since Tensorflow 2.0 it works without this function :param args:
src/NN/layers/KerasLayer.py:49
↓ 11 callersMethodbuild
:param input_shape: (batch, nb_steps, input_size) :return:
src/NN/layers/attention.py:133
↓ 11 callersMethodcompute_output_shape
(self, input_shape)
src/NN/layers/coder3D.py:148
↓ 11 callersMethodcompute_output_shape
(self, input_shape)
src/NN/layers/coder2D.py:148
↓ 10 callersMethodgenerate
to filter messy output if there are some :param x: :param args: :param kwargs: :return:
src/NN/Models/KerasModel.py:80
↓ 10 callersMethodgetter
:param params: :return:
src/NN/Sequences/KerasSequence.py:60
↓ 9 callersMethodadd_store_true
Add to the parser a store true action :param self: :param name: :param argtype: :param help: :return:
src/Args/Parser.py:113
↓ 8 callersMethodbuild
(self, input_shape)
src/NN/layers/coder3D.py:133
↓ 8 callersMethodbuild
(self, input_shape)
src/NN/layers/coder2D.py:133
↓ 8 callersFunctioncheck_type
(value: Any, expected_type: Any)
src/mtypes.py:32
↓ 8 callersMethodcompute_output_shape
(self, input_shape)
src/NN/layers/last.py:53
↓ 8 callersMethodget_new_i
(self)
src/MidiGenerator/MGInit.py:285
↓ 8 callersFunctionreflow
(paragraph)
simpleWorkingScripts/diagnose_tensorboard.py:85
↓ 7 callersMethodcompute_output_shape
(self, input_shape)
src/NN/layers/conv.py:61
↓ 7 callersMethodload
(self, i)
src/NN/Sequences/FastSequence.py:156
↓ 7 callersMethodreset_weights_variables
Used to reset the weights of a sublayers in a layers Since Tensorflow 2.0 it works without this function :return:
src/NN/layers/KerasLayer.py:19
↓ 7 callersMethodsummary
(self, *args, **kwargs)
src/NN/Models/KerasModel.py:101
↓ 6 callersMethod__init__
:param weight: :param sum_axis: To sum through time. If is None, no summation is done :param kwargs:
src/NN/layers/vae.py:264
↓ 6 callersMethodadd_weights_variables
Used to add the weights of a sublayers in a layers Since Tensorflow 2.0 it works without this function :param args:
src/NN/layers/KerasLayer.py:33
↓ 6 callersFunctioncheck_float
This function fix the issue which comes from some note's duration. For instance some note has duration like 14/3 or 7/3. :param duration:
src/Midi/open.py:67
↓ 6 callersMethodget_config
(self)
src/NN/layers/vae.py:293
↓ 6 callersMethodget_mask
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:240
↓ 6 callersMethodsave
:param path: :return:
src/BayesianOpt/Dimensions.py:141
↓ 6 callersMethodshow
(self, indice, nb_rows=3, nb_colums=4)
src/NN/Sequences/AllInstSequence.py:53
↓ 6 callersFunctionstring_to_bool
Used to evaluate the boolean written in the string :param string: :return:
src/BayesianOpt/process_args.py:31
↓ 6 callersFunctionzip
:param args: :return:
src/Args/preprocess.py:117
↓ 5 callersMethod__init__
(self, units, n=2, *args, **kwargs)
src/NN/layers/dense.py:175
↓ 5 callersMethodcompute_output_shape
(self, input_shape)
src/NN/layers/dense.py:212
↓ 5 callersMethoddelete_tokens
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:297
↓ 5 callersMethodget_config
(self)
src/NN/layers/dense.py:199
↓ 5 callersMethodload
:param path: :return:
src/BayesianOpt/Dimensions.py:158
↓ 5 callersMethodsave_generated_arrays_cross_images
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:237
↓ 5 callersFunctionsgetattr
Get an attribute off the `socket` module, or use a default.
simpleWorkingScripts/diagnose_tensorboard.py:127
↓ 5 callersMethodupdate_in_training
(self, in_training, default_in_training=1)
src/NN/in_training.py:11
↓ 4 callersMethod__init__
:param bidirectional: :param size: :param args: :param dropout: :param return_sequences: :param kwar
src/NN/layers/rnn.py:16
↓ 4 callersMethodbuild
(self, input_shape)
src/NN/layers/wrapper/l.py:23
↓ 4 callersMethodchange_batch_size
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:248
↓ 4 callersMethodcompute_output_shape
:param input_shape: (batch, nb_steps, input_size) :return:
src/NN/layers/attention.py:153
↓ 4 callersMethodcompute_output_shape
:param input_shape: (batch, nb_steps, size) :return:
src/NN/layers/rnn.py:105
↓ 4 callersFunctioneval_object
:param x: :param env: :return:
src/eval_string.py:14
↓ 4 callersMethodfit
(self, *args, **kwargs)
src/NN/Models/KerasModel.py:60
↓ 4 callersMethodget_config
(self)
src/NN/layers/rnn.py:49
↓ 4 callersMethodindex
:param name: The index of the parameters in the list of changeable parameters :return:
src/BayesianOpt/Dimensions.py:106
↓ 4 callersMethodload_data
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:245
↓ 4 callersMethodtrain
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:336
↓ 3 callersMethod__init__
:param encoder_param: { 'conv': [[4, 8], [16, 8], [4, 8]], 'dense': [24, 12] } :param dropout_c: flo
src/NN/layers/coder3D.py:86
↓ 3 callersMethod__init__
:param axis: No batch in axis
src/NN/layers/shapes.py:90
↓ 3 callersMethod__init__
:param encoder_param: { 'conv': [[4, 8], [16, 8], [4, 8]], 'dense': [24, 12] } :param dropout_c: flo
src/NN/layers/coder2D.py:86
↓ 3 callersMethod__init__
:param num_or_size_to_split: Union[int, List[int]]: :param axis: axis to split the tensor : int: ⚠ axis=0 correspond to
src/NN/layers/last.py:24
↓ 3 callersMethod__init__
:param filters: int: the size of the filters :param strides: tuple<int>: (3,): :param dropout: float:
src/NN/layers/conv.py:17
↓ 3 callersMethodbuild
:param input_shape: List(2)[ (batch, modalities, nb_steps, size) ] + List[1](batch, modal
src/NN/layers/vae.py:159
↓ 3 callersMethodcast
(value: Any)
src/mtypes.py:53
↓ 3 callersMethodfit_generator
Before TF2, it was necessary to fit the model before fit_generator But now it works :param generator: :param args:
src/NN/Models/KerasModel.py:64
↓ 3 callersMethodget_config
(self)
src/NN/layers/coder3D.py:121
↓ 3 callersMethodget_config
(self)
src/NN/layers/shapes.py:113
↓ 3 callersMethodget_config
(self)
src/NN/layers/coder2D.py:121
↓ 3 callersMethodget_config
(self)
src/NN/layers/last.py:36
↓ 3 callersMethodget_config
(self)
src/NN/layers/conv.py:38
↓ 3 callersMethodget_sequence
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:254
↓ 3 callersFunctionharmony_n
:param array: (instruments, size, length, channels) :param n: :return: (length,)
src/res/eval/metrics.py:23
↓ 3 callersMethodlen_to_nb_available
:param length: :return:
src/NN/Sequences/KerasSequence.py:275
↓ 3 callersFunctionn_tone
:param tensor: activation, (batch, nb_instruments, nb_steps, step_size, input_size) (no mono silent note) :param interval: :return:
src/NN/Loss/cost.py:104
↓ 3 callersMethodnew_inputs
(self, inputs)
src/NN/in_training.py:17
↓ 3 callersMethodnew_nn_model
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:305
↓ 3 callersMethodnote_off
(self, note, velocity=127)
src/Midi/Player/MidiPlayer.py:49
↓ 3 callersMethodnote_on
(self, note, velocity=127)
src/Midi/Player/MidiPlayer.py:46
↓ 3 callersFunctionnote_to_midinote
:param note: :param notes_range: :return:
src/Midi/open.py:429
↓ 3 callersMethodpredict
(*args, **kwargs)
src/NN/Sequences/AllInstSequence.py:21
↓ 3 callersMethodprint_model
(self)
src/MidiGenerator/MGModel.py:109
↓ 3 callersMethodrecreate_model
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:308
↓ 3 callersMethodsave
:param path: :return:
src/NN/KerasNeuralNetwork.py:327
↓ 2 callersMethod__init__
(self, latent_size=None, nb_matrices=1, *args, **kwargs)
src/NN/layers/attention.py:116
↓ 2 callersMethod__init__
:param layer: a Keras layer :param args: :param kwargs:
src/NN/layers/wrapper/l.py:5
↓ 2 callersMethodapply_mask_on_array
:param array: :return:
src/Midi/Player/BandPlayer.py:176
↓ 2 callersFunctionarray_to_pianoroll
:param step_length: :param notes_range: To add the piano on the left of the image :param colors: :param array: (nb_instruments, inpu
src/Images/pianoroll.py:9
↓ 2 callersMethodbetter_than
(d1, d2)
src/NN/Callbacks/LossHistory.py:52
↓ 2 callersMethodbuild
(self, input_shape)
src/NN/layers/shapes.py:121
↓ 2 callersMethodbuild
(self, input_shape, *args, **kwargs)
src/NN/Models/KerasModel.py:14
↓ 2 callersMethodcheck_final_shape
if batch dim is not in the shape, then put it :param final_shape: tuple<int>: (4,) or (5,): (a, b, c, d) or (?, a, b, c, d)
src/NN/layers/conv.py:102
↓ 2 callersMethodcompare_generation
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:271
↓ 2 callersMethodcompute_output_shape
(self, input_shape)
src/NN/layers/wrapper/l.py:27
↓ 2 callersMethodcreate_sequence
:param sequence_name: :param kwargs: :return:
src/MidiGenerator/MGData.py:39
↓ 2 callersMethoddelete_token_midis_path
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:294
↓ 2 callersMethoddelete_token_midis_path
:return:
src/MidiGenerator/MGLogistic.py:71
↓ 2 callersMethodevaluate
(self, *args, **kwargs)
src/MidiGenerator/MGInit.py:339
next →1–100 of 815, ranked by callers