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

↓ 1 callersMethodget_att_shift_dict
(self)
data/nsynth.py:368
↓ 1 callersMethodget_labels
(self, batch_size)
data/nsynth.py:103
↓ 1 callersMethodget_metadata
(self, item_path)
data/nsynth.py:296
↓ 1 callersMethodget_output_shape
(self)
data/preprocessing.py:386
↓ 1 callersMethodget_post_processor
(self, insert_transform=None)
data/preprocessing.py:389
↓ 1 callersMethodinScaleUpdate
(self, iter, scale, inputs_real)
pg_gan/gan_trainer.py:344
↓ 1 callersMethodinitScale0Layer
(self)
pg_gan/progressive_conv_net.py:121
↓ 1 callersMethodinitScale0Layer
(self)
pg_gan/progressive_conv_net.py:349
↓ 1 callersMethodinitScaleShapes
(self)
pg_gan/progressive_gan_trainer.py:76
↓ 1 callersMethodinitScaleShapes
(self, downSamplingFactor)
pg_gan/progressive_gan.py:76
↓ 1 callersFunctioninit_seed
(rand_seed=True)
train.py:22
↓ 1 callersMethodinit_transform_pipeline
(self, transform)
data/preprocessing.py:48
↓ 1 callersFunctionisinf
r"""Returns a new tensor with boolean elements representing if each element is `+/-INF` or not. Arguments: tensor (Tensor): A tensor
utils/utils.py:44
↓ 1 callersFunctionisnan
r"""Returns a new tensor with boolean elements representing if each element is `NaN` or not. Arguments: tensor (Tensor): A tensor to
utils/utils.py:66
↓ 1 callersMethodloadAttribDict
r""" Load a dictionnary describing the attributes of each image in the dataset and save the list of all the possible attributes and th
data/nsynth.py:334
↓ 1 callersMethodloadSavedTraining
r""" Load a given checkpoint. Args: - pathModel (string): path to the file containing the model
pg_gan/gan_trainer.py:180
↓ 1 callersFunctionload_config_file
(configPath)
train.py:36
↓ 1 callersMethodload_data
(self)
data/nsynth.py:112
↓ 1 callersMethodloss_names_to_code
(self, key)
pg_gan/gan_trainer.py:348
↓ 1 callersFunctionmag_phase_angle
(x)
data/audio_transforms.py:76
↓ 1 callersMethodmeets_requirements
(self, att_dict)
data/nsynth.py:261
↓ 1 callersFunctionminiBatchStdDev
r""" Add a minibatch standard deviation channel to the current layer. In other words: 1) Compute the standard deviation of the feature
pg_gan/mini_batch_stddev_module.py:8
↓ 1 callersMethodmix_true_fake_batch
(self, true_b, fake_b, fake_ratio)
pg_gan/progressive_gan.py:220
↓ 1 callersMethodoptimizeD
(self, allLosses)
pg_gan/progressive_gan.py:227
↓ 1 callersMethodoptimizeG
(self, allLosses)
pg_gan/progressive_gan.py:309
↓ 1 callersFunctionpolynomial_mmd
(codes_g, codes_r, degree=3, gamma=None, coef0=1, var_at_m=None, ret_var=True)
evaluation/metrics/kernel_inception_distance.py:27
↓ 1 callersMethodpreprocess
(self)
data/nsynth.py:106
↓ 1 callersMethodread_item
(self, item_path)
data/nsynth.py:130
↓ 1 callersMethodregister_D_grads
(self)
pg_gan/base_GAN.py:626
↓ 1 callersMethodsaveBaseConfig
r""" Save the model basic configuration (the part that doesn't change with the training's progression) at the given path
pg_gan/gan_trainer.py:253
↓ 1 callersMethodsaveCheckpoint
r""" Save a checkpoint at the given directory. Please note that the basic configuration won't be saved. This function produce
pg_gan/gan_trainer.py:271
↓ 1 callersFunctionsave_config_file
(configFile, outputPath)
train.py:42
↓ 1 callersMethodsetNewAlpha
r""" Update the value of the merging factor alpha Args: - alpha (float): merging factor, must be in [0, 1]
pg_gan/progressive_conv_net.py:395
↓ 1 callersMethodset_atts
(self, **kwargs)
data/preprocessing.py:44
↓ 1 callersMethodshuffle_data
(self)
data/nsynth.py:125
↓ 1 callersMethodsoft_cross_entropy
(self, pred, target, lprob=0.3, hprob=(0.7, 1.2))
pg_gan/ac_criterion.py:201
↓ 1 callersMethodsort_att_dict_list
(self)
data/nsynth.py:362
↓ 1 callersMethodtensor_view
(self, x)
pg_gan/progressive_conv_net.py:205
↓ 1 callersMethodtest_random_generation
(self)
evaluation/gen_tests/generation_tests.py:23
↓ 1 callersMethodtest_single_pitch_latent_interpolation
(self, pitch=55)
evaluation/gen_tests/generation_tests.py:75
↓ 1 callersMethodtest_single_z_pitch_sweep
(self)
evaluation/gen_tests/generation_tests.py:53
↓ 1 callersMethodtrainOnEpoch
r""" Train the model on one epoch. Args: - dbLoader (DataLoader): dataset on which the training will be made
pg_gan/gan_trainer.py:367
↓ 1 callersFunctiontrain_inception_model
(output_file, att_cls="pitch", dbsize=100000,
evaluation/train_inception_model.py:130
↓ 1 callersMethodtrain_val_split
(self, tr_val_size=0.8)
data/nsynth.py:231
↓ 1 callersMethodupdateAlpha
r""" Update the blending factor alpha. Args: - alpha (float): blending factor (in [0,1]). 0 means only the
pg_gan/progressive_gan.py:161
↓ 1 callersMethodupdateConfig
r""" Update the object config with new inputs. Args: config (dict or BaseConfig) : fields of configuration to be updated
pg_gan/base_GAN.py:482
↓ 1 callersMethodupdateDatasetForScale
(self, scale)
pg_gan/progressive_gan_trainer.py:197
↓ 1 callersMethodupdateLossProfile
(self, iter)
pg_gan/gan_trainer.py:149
↓ 1 callersFunctionupdateParserWithConfig
(parser, defaultConfig)
utils/config.py:65
↓ 1 callersMethodupdateRunningLosses
(self, allLosses)
pg_gan/gan_trainer.py:136
↓ 1 callersFunctionvalidate_checkpoint_data
(checkp_data, checkp_dir, scale, iter, name)
utils/utils.py:422
FunctionUpscale1d
(x, factor=2)
pg_gan/custom_layers.py:28
FunctionUpscale2d
(x, factor=2)
pg_gan/custom_layers.py:18
Method__call__
(self, image)
utils/utils.py:489
Method__call__
(self, audio)
data/audio_transforms.py:120
Method__call__
(self, spectrum)
data/audio_transforms.py:129
Method__call__
(self, x)
data/audio_transforms.py:139
Method__call__
(self, image)
data/audio_transforms.py:148
Method__call__
(self, x)
data/audio_transforms.py:162
Method__call__
(self, audio)
data/audio_transforms.py:175
Method__call__
(self, audio)
data/audio_transforms.py:204
Method__getitem__
(self, index)
data/nsynth.py:86
Method__init__
(self, orig=None)
utils/config.py:8
Method__init__
(self, new_size)
utils/utils.py:487
Method__init__
(self, sample_rate=16000, audio_length=16000, transform='wa
data/preprocessing.py:62
Method__init__
(self, dbname="", audio_length=16000, sample_rate=16000,
data/nsynth.py:138
Method__init__
(self, att_dict_path, dbname="default", attribute_list=["in
data/nsynth.py:173
Method__init__
(self, orig_sr, target_sr)
data/audio_transforms.py:117
Method__init__
(self, fdim=-2)
data/audio_transforms.py:125
Method__init__
(self, fdim=-2)
data/audio_transforms.py:137
Method__init__
(self, new_size)
data/audio_transforms.py:146
Method__init__
(self, hop_length, win_length)
data/audio_transforms.py:158
Method__init__
(self, n_fft=4096, ws=2048, hop=1024)
data/audio_transforms.py:170
Method__init__
(self, transforms)
data/audio_transforms.py:201
Method__init__
r""" Args: - pathdb (string): path to the directorty containing the image dataset - use
pg_gan/progressive_gan_trainer.py:28
Method__init__
r""" Args: Specific Arguments: - depthScale0 (int) - initBiasToZero (bool): should layer's bias be initialize
pg_gan/progressive_gan.py:22
Method__init__
(self, device)
pg_gan/base_loss_criterions.py:15
Method__init__
(self, device)
pg_gan/base_loss_criterions.py:58
Method__init__
(self, device)
pg_gan/base_loss_criterions.py:77
Method__init__
(self, device)
pg_gan/base_loss_criterions.py:94
Method__init__
r""" Args: dimLatentVector (int): dimension of the latent vector in the model dimOutput (int): number of channels of t
pg_gan/base_GAN.py:21
Method__init__
r""" Build a discriminator for a progressive GAN model Args: - depthScale0 (int): depth of the lowest resolution scales
pg_gan/progressive_conv_net.py:278
Method__init__
(self)
pg_gan/custom_layers.py:11
Method__init__
r""" equalized (bool): if true, the layer's weight should evolve within the range (-1, 1) initBiasToZero (boo
pg_gan/custom_layers.py:90
Method__init__
r""" A nn.Conv1d module with specific constraints Args: nChannelsPrevious (int): number of channels in the previous layer
pg_gan/custom_layers.py:123
Method__init__
r""" A nn.Conv2d module with specific constraints Args: nChannelsPrevious (int): number of channels in the previous layer
pg_gan/custom_layers.py:149
Method__init__
( self, in_channel, out_channel, kernel_size, padding, kernel_size2=None, padding2=None, pixe
pg_gan/custom_layers.py:197
Method__init__
( self, in_channel, out_channel, kernel_size, padding, kernel_size2=None, padding2=None, pixe
pg_gan/custom_layers.py:231
Method__init__
(self, in_channel, style_dim)
pg_gan/custom_layers.py:265
Method__init__
(self, in_channel, style_dim)
pg_gan/custom_layers.py:292
Method__init__
r""" A nn.Linear module with specific constraints Args: nChannelsPrevious (int): number of channels in the previous layer
pg_gan/custom_layers.py:318
Method__init__
(self, channel, size)
pg_gan/custom_layers.py:358
Method__init__
(self, channel, size)
pg_gan/custom_layers.py:373
Method__init__
(self, channel)
pg_gan/custom_layers.py:389
Method__init__
(self, channel)
pg_gan/custom_layers.py:400
Method__init__
(self, nChannels, **kargs)
pg_gan/custom_layers.py:411
Method__init__
(self, nChannels, **kargs)
pg_gan/custom_layers.py:420
Method__init__
(self)
pg_gan/custom_layers.py:443
Method__init__
(self, in_channel, out_channel, kernel_size=3, padding=1, style_dim=512, initial=False, init_
pg_gan/custom_layers.py:452
Method__init__
(self, in_channel, out_channel, kernel_size=3, transposed=False, padding=1, style_dim=512, in
pg_gan/custom_layers.py:490
← previousnext →101–200 of 319, ranked by callers