MCPcopy Create free account

hub / github.com/SonyCSLParis/Comparing-Representations-for-Audio-Synthesis-using-GANs / functions

Functions319 in github.com/SonyCSLParis/Comparing-Representations-for-Audio-Synthesis-using-GANs

Method__init__
(self, dimLatent, scaleDepth, outputShape,
pg_gan/custom_layers.py:539
Method__init__
r""" Args: attribKeysOrder (dict): dictionary containing the all the possible categories of t
pg_gan/ac_criterion.py:15
Method__init__
r""" Args: - pathdb (string): path to the directorty containing the image dataset. - useGPU (bool): set to
pg_gan/gan_trainer.py:21
Method__init__
(self, num_classes=128, aux_logits=True, transform_input=False)
evaluation/train_inception_model.py:21
Method__init__
(self, classifier)
evaluation/metrics/inception_score.py:8
Method__init__
(self, model, n_gen=20, get_avg=False)
evaluation/gen_tests/generation_tests.py:8
Method__len__
(self)
data/nsynth.py:83
Method__repr__
(self)
data/audio_transforms.py:209
MethodaddNewScales
(self, configNewScales)
pg_gan/progressive_gan_trainer.py:297
MethodaddScale
r""" Add a new scale to the model. The output resolution becomes twice bigger.
pg_gan/progressive_gan.py:142
Functionbce_loss
(pi, x)
evaluation/train_inception_model.py:117
FunctionbuildDictStats
(inputDict, classList)
data/db_stats.py:16
FunctionbuildMaskSplit
r""" Build a 8bits mask that split a full input latent vector into two intermediate latent vectors: one for the shape network and one for the
utils/product_module.py:3
MethodbuildNoiseDataWithConstraints
(self, n, labels)
pg_gan/base_GAN.py:394
Methodbuild_cqt_nsgt_pipeline
(self)
data/preprocessing.py:262
Methodbuild_cqt_pipeline
(self)
data/preprocessing.py:232
Methodbuild_mel_pipeline
(self)
data/preprocessing.py:141
Methodbuild_mfcc_pipeline
(self)
data/preprocessing.py:183
Methodbuild_specgrams_pipeline
(self)
data/preprocessing.py:127
Methodbuild_stft_pipeline
(self)
data/preprocessing.py:116
Methodbuild_waveform_pipeline
(self)
data/preprocessing.py:101
Functioncomplex_to_lin
(x)
data/audio_transforms.py:7
MethodcountParams
(self)
pg_gan/base_GAN.py:606
Methodcount_att
(att_dict)
data/nsynth.py:221
Methodcqt
(x)
data/preprocessing.py:236
Functionextract_save_rainbowgram
(audio, path, name)
utils/utils.py:450
Functionfade_out
Applies fade out at the end of an audio vector x
data/audio_transforms.py:16
Methodfilter_files
(self, files)
data/nsynth.py:302
Functionfold_cqt
(x)
data/audio_transforms.py:32
Methodforward
(self, x, test_all_scales=False)
pg_gan/progressive_conv_net.py:208
Methodforward
(self, x, getFeature = False)
pg_gan/progressive_conv_net.py:424
Methodforward
(self, x, epsilon=1e-8)
pg_gan/custom_layers.py:14
Methodforward
(self, x, *args)
pg_gan/custom_layers.py:113
Methodforward
(self, input)
pg_gan/custom_layers.py:187
Methodforward
(self, input)
pg_gan/custom_layers.py:220
Methodforward
(self, input)
pg_gan/custom_layers.py:254
Methodforward
(self, input, style)
pg_gan/custom_layers.py:278
Methodforward
(self, input, style)
pg_gan/custom_layers.py:305
Methodforward
(self, input)
pg_gan/custom_layers.py:363
Methodforward
(self, input)
pg_gan/custom_layers.py:380
Methodforward
(self, image, noise)
pg_gan/custom_layers.py:393
Methodforward
(self, image, noise)
pg_gan/custom_layers.py:404
Methodforward
(x, *args)
pg_gan/custom_layers.py:445
Methodforward
(self, input, style, noise)
pg_gan/custom_layers.py:472
Methodforward
(self, input, style, noise)
pg_gan/custom_layers.py:520
Methodforward
(self, x)
pg_gan/custom_layers.py:576
Methodforward
(self, x)
evaluation/train_inception_model.py:59
Functiongaussian
(d, var=16.)
evaluation/metrics/maximum_mean_discrepancy.py:15
Functiongenerate
(parser)
evaluation/gen_tests/interpolation.py:11
Functiongenerate
(parser)
evaluation/gen_tests/random.py:11
Functiongenerate
(parser)
evaluation/gen_tests/scale.py:10
Functiongenerate
(parser)
evaluation/gen_tests/from_midi.py:23
MethodgetCriterion
r""" Given an input tensor and its targeted status (detected as real or detected as fake) build the associated loss Args:
pg_gan/base_loss_criterions.py:18
MethodgetCriterion
(self, input, status)
pg_gan/base_loss_criterions.py:65
MethodgetCriterion
(self, input, status)
pg_gan/base_loss_criterions.py:83
MethodgetCriterion
(self, input, status)
pg_gan/base_loss_criterions.py:101
MethodgetCriterion
r""" Compute the conditional loss between the network's output and the target. This loss, L, is the sum of the losses Lc of the catego
pg_gan/ac_criterion.py:208
MethodgetDataset
(self, scale, size=None)
pg_gan/progressive_gan_trainer.py:320
MethodgetDefaultConfig
(self)
pg_gan/progressive_gan_trainer.py:25
FunctiongetNameAndPackage
(strCode)
utils/utils.py:121
MethodgetNetD
(self)
pg_gan/progressive_gan.py:106
MethodgetNetG
(self)
pg_gan/progressive_gan.py:81
MethodgetOptimizerD
(self)
pg_gan/progressive_gan.py:127
MethodgetOptimizerG
(self)
pg_gan/progressive_gan.py:135
MethodgetPredictionLabels
(self, outputD)
pg_gan/ac_criterion.py:180
MethodgetSize
r""" Get output image size (W, H)
pg_gan/progressive_gan.py:180
FunctiongetVal
(kwargs, key, default)
utils/utils.py:230
Methodget_labels
(self, batch_size)
data/nsynth.py:275
Methodget_rand_gaussian_outlier
(ndim)
evaluation/gen_tests/generation_tests.py:101
Methodicqt
(x)
data/preprocessing.py:242
Methodimel
(x)
data/preprocessing.py:151
MethodinScaleUpdate
(self, iter, scale, input_real)
pg_gan/progressive_gan_trainer.py:181
Methodin_reshape
(x)
data/preprocessing.py:108
Methodindex_to_labels
(self, idx_batch)
data/nsynth.py:384
MethodinitModel
r""" Initialize the GAN model.
pg_gan/progressive_gan_trainer.py:89
Methodinit_transform_pipeline
Function that initializes the transformation pipeline Args: transform (str): name of the transformation
data/preprocessing.py:77
Functioninstantaneous_freq
(specgrams)
data/audio_transforms.py:231
Functioninv_instantanteous_freq
(x)
data/audio_transforms.py:224
Functioninverse_multiquadratics
:param d: (num_samples x, num_samples y) :param var: :return:
evaluation/metrics/maximum_mean_discrepancy.py:19
Methodistft
(x)
data/preprocessing.py:354
Methodlabel_to_instrument
(self, label)
data/nsynth.py:397
Methodlabel_to_source
(self, label)
data/nsynth.py:400
Functionlin_to_complex
(x)
data/audio_transforms.py:10
Methodloader
(x)
data/preprocessing.py:303
Functionloadmodule
r""" A dirty hack to load a module from a string input Args: package (string): package name name (string): module name R
utils/utils.py:337
Methodmel
(x)
data/preprocessing.py:142
Functionnorm_audio
(x)
data/audio_transforms.py:70
MethodoptimizeParameters
(self, input_batch, inputLabels, fakeLabels=None)
pg_gan/progressive_gan.py:367
MethodoptimizeParameters2
r""" Update the discrimator D using the given "real" inputs. Args: input (torch.tensor): input batch of real data
pg_gan/progressive_gan.py:390
Methodout_reshape
(x)
data/preprocessing.py:110
Functionparse_config_name
r""" Parse a file name with the given pattern: pattern = ($model_name)_train_config.json Raise an error if the pattern doesn't match
utils/utils.py:168
Functionphase_diff
(ph)
data/audio_transforms.py:221
Functionpolynomial_mmd_averages
(codes_g, codes_r, n_subsets=50, subset_size=1000, ret_var=True, output=sys.stdout
evaluation/metrics/kernel_inception_distance.py:6
FunctionprepareClassifier
(module, outFeatures)
utils/utils.py:100
FunctionprintProgressBar
Call in a loop to create terminal progress bar @params: iteration - Required : current iteration (Int) total - Requi
utils/utils.py:257
MethodreadTrainConfig
r""" Load a permanent configuration describing a models. The variables described in this file are constant through the training.
pg_gan/progressive_gan_trainer.py:97
Methodread_item
(self, item_path)
data/nsynth.py:282
Functionremove_ph
(spectrum)
data/audio_transforms.py:218
MethodresetVisualization
(self, nDataVisualization)
pg_gan/gan_trainer.py:247
Functionsafe_exp_spec
(x)
data/audio_transforms.py:101
← previousnext →201–300 of 319, ranked by callers