MCPcopy Create free account

hub / github.com/ajbrock/BigGAN-PyTorch / functions

Functions231 in github.com/ajbrock/BigGAN-PyTorch

↓ 27 callersMethodload_tf_tensor
(self, prefix, var, device='0')
TFHub/converter.py:205
↓ 15 callersMethodload
(self)
TFHub/converter.py:106
↓ 13 callersMethodto
(self, *args, **kwargs)
utils.py:1078
↓ 12 callersMethod__init__
(self, num_svs, num_itrs, num_outputs, transpose=False, eps=1e-12)
layers.py:61
↓ 12 callersFunctionjoin_strings
(base_string, strings)
utils.py:682
↓ 9 callersMethodsample_
(self)
utils.py:1069
↓ 8 callersMethodload_snconv
(self, name_pth, name_tf, bias=True)
TFHub/converter.py:149
↓ 7 callersMethod__init__
( self, in_channel, out_channel, kernel_size=[3, 3], padding=1, stride=1, n_class=
TFHub/biggan_v1.py:132
↓ 7 callersFunction_unsqueeze_ft
add new dementions at the front and the tail
sync_batchnorm/batchnorm.py:29
↓ 7 callersMethodlog
(self, itr, **kwargs)
utils.py:793
↓ 6 callersMethodload_state_dict
(self, state_dict)
utils.py:1136
↓ 4 callersMethod__init__
(self, G, D)
BigGANdeep.py:493
↓ 4 callersFunctionl2normalize
(v, eps=1e-4)
TFHub/biggan_v1.py:12
↓ 3 callersMethodW_
(self)
layers.py:87
↓ 3 callersFunctionfused_bn
(x, mean, var, gain=None, bias=None, eps=1e-5)
layers.py:173
↓ 3 callersMethodget
(self)
sync_batchnorm/comm.py:32
↓ 3 callersMethodinit_distribution
(self, dist_type, **kwargs)
utils.py:1061
↓ 3 callersMethodput
(self, result)
sync_batchnorm/comm.py:26
↓ 3 callersFunctionsample
(G, z_, y_, config)
utils.py:865
↓ 3 callersFunctionsample_1hot
(batch_size, num_classes, device='cuda')
utils.py:1047
↓ 2 callersMethod__init__
(self, G, D)
BigGAN.py:409
↓ 2 callersMethod_check_input_dim
(self, input)
sync_batchnorm/batchnorm.py:218
↓ 2 callersFunction_sum_ft
sum over the first and last dimention
sync_batchnorm/batchnorm.py:24
↓ 2 callersFunctionconvert_biggan
(resolution, weight_dir, redownload=False, no_ema=False, verbose=False)
TFHub/converter.py:310
↓ 2 callersFunctionexecute_replication_callbacks
Execute an replication callback `__data_parallel_replicate__` on each module created by original replication. The callback will be invoked w
sync_batchnorm/replicate.py:27
↓ 2 callersFunctiongenerate_sample
(G, z_dim, batch_size, filename, parallel=False)
TFHub/converter.py:334
↓ 2 callersFunctionget_inception_metrics
(sample, num_inception_images, num_splits=10, prints=True, use_torch=True)
inception_utils.py:283
↓ 2 callersFunctionget_metrics
()
sample.py:144
↓ 2 callersFunctiongram_schmidt
(x, ys)
layers.py:21
↓ 2 callersFunctioninterp
(x0, x1, num_midpoints)
utils.py:911
↓ 2 callersMethodload_HyperBN
(self, name_pth, name_tf)
TFHub/converter.py:178
↓ 2 callersFunctionpil_loader
(path)
datasets.py:58
↓ 2 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model and returns the l
utils.py:1144
↓ 2 callersMethodupdate
(self, itr=None)
utils.py:630
↓ 1 callersFunctionD_arch
(ch=64, attention='64',ksize='333333', dilation='111111')
BigGAN.py:255
↓ 1 callersFunctionD_arch
(ch=64, attention='64',ksize='333333', dilation='111111')
BigGANdeep.py:331
↓ 1 callersFunctionG_arch
(ch=64, attention='64', ksize='333333', dilation='111111')
BigGAN.py:19
↓ 1 callersFunctionG_arch
(ch=64, attention='64', ksize='333333', dilation='111111')
BigGANdeep.py:67
↓ 1 callersMethod__data_parallel_replicate__
(self, ctx, copy_id)
sync_batchnorm/batchnorm.py:110
↓ 1 callersMethod__init__
(self, source, target, decay=0.9999, start_itr=0)
utils.py:615
↓ 1 callersMethod__init__
Args: master_callback: a callback to be invoked after having collected messages from slave devices.
sync_batchnorm/comm.py:67
↓ 1 callersMethod__len__
(self)
datasets.py:166
↓ 1 callersMethod_compute_mean_std
Compute the mean and standard-deviation with sum and square-sum. This method also maintains the moving average on the master device.
sync_batchnorm/batchnorm.py:147
↓ 1 callersFunction_init_inception
()
inception_tf13.py:77
↓ 1 callersMethod_made_params
(self)
TFHub/biggan_v1.py:50
↓ 1 callersMethod_make_params
(self)
TFHub/biggan_v1.py:59
↓ 1 callersMethod_update_u_v
(self)
TFHub/biggan_v1.py:36
↓ 1 callersFunctionaccimage_loader
(path)
datasets.py:65
↓ 1 callersFunctionaccumulate_inception_activations
(sample, net, num_inception_images=50000)
inception_utils.py:248
↓ 1 callersFunctioncalculate_inception_score
(pred, num_splits=10)
inception_utils.py:235
↓ 1 callersMethodconv
(in_channel, out_channel, downsample=True)
TFHub/biggan_v1.py:343
↓ 1 callersFunctionconvert_from_v1
(hub_dict, resolution=128)
TFHub/converter.py:210
↓ 1 callersFunctiondump_tfhub_to_hdf5
Loads TFHub weights and saves them to intermediate HDF5 file. Args: module_path ([Path-like]): Path to TFHub module. hdf5_path ([Path-like]
TFHub/converter.py:47
↓ 1 callersFunctionfind_classes
(dir)
datasets.py:33
↓ 1 callersMethodforward
(self, input, condition=None)
TFHub/biggan_v1.py:168
↓ 1 callersFunctionget_config
(resolution)
TFHub/converter.py:289
↓ 1 callersFunctionget_inception_score
(images, splits=10)
inception_tf13.py:48
↓ 1 callersFunctiongroupnorm
(x, norm_style)
layers.py:259
↓ 1 callersFunctionhashname
(name)
utils.py:1025
↓ 1 callersMethodinit_weights
(self)
BigGAN.py:209
↓ 1 callersMethodinit_weights
(self)
BigGAN.py:374
↓ 1 callersMethodinit_weights
(self)
BigGANdeep.py:243
↓ 1 callersMethodinit_weights
(self)
BigGANdeep.py:458
↓ 1 callersFunctioninitiate_standing_stats
(net)
utils.py:1101
↓ 1 callersFunctionis_image_file
Checks if a file is an image. Args: filename (string): path to a file Returns: bool: True if the filename ends with a
datasets.py:20
↓ 1 callersMethodload_GBlock
(self, name_pth, name_tf)
TFHub/converter.py:140
↓ 1 callersMethodload_HyperBNs
(self, name_pth, name_tf)
TFHub/converter.py:166
↓ 1 callersMethodload_ScaledCrossReplicaBNs
(self, name_pth, name_tf)
TFHub/converter.py:170
↓ 1 callersMethodload_attention
(self, name_pth, name_tf)
TFHub/converter.py:197
↓ 1 callersMethodload_colorize
(self, name_pth, name_tf)
TFHub/converter.py:137
↓ 1 callersMethodload_convs
(self, name_pth, name_tf)
TFHub/converter.py:144
↓ 1 callersMethodload_generator
(self)
TFHub/converter.py:110
↓ 1 callersFunctionload_inception_net
(parallel=False)
inception_utils.py:261
↓ 1 callersMethodload_linear
(self, name_pth, name_tf, bias=True)
TFHub/converter.py:125
↓ 1 callersMethodload_snlinear
(self, name_pth, name_tf, bias=True)
TFHub/converter.py:130
↓ 1 callersFunctionmain
()
train.py:219
↓ 1 callersFunctionmain
()
sample.py:174
↓ 1 callersFunctionmain
()
calculate_inception_moments.py:82
↓ 1 callersFunctionmain
()
make_hdf5.py:102
↓ 1 callersFunctionmain
()
inception_tf13.py:130
↓ 1 callersFunctionmake_dataset
(dir, class_to_idx)
datasets.py:40
↓ 1 callersFunctionmanual_bn
(x, gain=None, bias=None, return_mean_var=False, eps=1e-5)
layers.py:191
↓ 1 callersFunctionnumpy_calculate_frechet_distance
Numpy implementation of the Frechet Distance. Taken from https://github.com/bioinf-jku/TTUR The Frechet distance between two multivariate Gaussian
inception_utils.py:144
↓ 1 callersFunctionparse_args
()
TFHub/converter.py:348
↓ 1 callersFunctionpatch_replication_callback
Monkey-patch an existing `DataParallel` object. Add the replication callback. Useful when you have customized `DataParallel` implementation.
sync_batchnorm/replicate.py:70
↓ 1 callersFunctionpower_iteration
(W, u_, update=True, eps=1e-12)
layers.py:28
↓ 1 callersFunctionprepare_parser
()
calculate_inception_moments.py:19
↓ 1 callersFunctionprepare_parser
()
make_hdf5.py:20
↓ 1 callersFunctionprepare_parser
()
inception_tf13.py:29
↓ 1 callersFunctionproj
(x, y)
layers.py:16
↓ 1 callersMethodregister_slave
Register an slave device. Args: identifier: an identifier, usually is the device id. Returns: a `SlavePipe` obj
sync_batchnorm/comm.py:84
↓ 1 callersMethodreinit
(self, item)
utils.py:781
↓ 1 callersMethodreset_parameters
(self)
sync_batchnorm/batchnorm_reimpl.py:43
↓ 1 callersMethodreset_running_stats
(self)
sync_batchnorm/batchnorm_reimpl.py:39
↓ 1 callersMethodreset_stats
(self)
layers.py:229
↓ 1 callersFunctionrun
(config)
train.py:34
↓ 1 callersFunctionrun
(config)
sample.py:24
↓ 1 callersFunctionrun
(config)
calculate_inception_moments.py:49
↓ 1 callersFunctionrun
(config)
make_hdf5.py:45
↓ 1 callersFunctionrun
(config)
inception_tf13.py:44
next →1–100 of 231, ranked by callers