MCPcopy Index your code

hub / github.com/SummitKwan/transparent_latent_gan / functions

Functions308 in github.com/SummitKwan/transparent_latent_gan

↓ 22 callersMethodrun
(self, *in_arrays, return_as_list = False, # True = return a list of NumPy arrays, False = return
src/model/pggan/tfutil.py:621
↓ 13 callersFunctionadd_command
(cmd, desc, example=None)
src/model/pggan/dataset_tool.py:650
↓ 13 callersFunctionadd_command
(cmd, desc, example=None)
src/ingestion/dataset_tool_modify.py:658
↓ 13 callersFunctionapply_bias
(x)
src/model/pggan/networks.py:53
↓ 13 callersFunctionnf
(stage)
src/model/pggan/networks.py:167
↓ 12 callersFunctionis_tf_expression
(x)
src/model/pggan/tfutil.py:23
↓ 12 callersFunctionlayer
(name, gain, w)
src/model/pggan/legacy.py:65
↓ 10 callersMethodadd_image
(self, img)
src/model/pggan/dataset_tool.py:62
↓ 10 callersMethodadd_image
(self, img)
src/ingestion/dataset_tool_modify.py:69
↓ 10 callersMethodget_minibatch_np
(self, minibatch_size, lod=0)
src/model/pggan/dataset.py:148
↓ 10 callersFunctionrun
(*args, **kwargs)
src/model/pggan/tfutil.py:20
↓ 9 callersFunctionabsolute_name_scope
(scope)
src/model/pggan/tfutil.py:49
↓ 9 callersMethodclose
(self)
src/model/pggan/dataset_tool.py:47
↓ 9 callersFunctionerror
(msg)
src/model/pggan/dataset_tool.py:24
↓ 9 callersFunctionerror
(msg)
src/ingestion/dataset_tool_modify.py:31
↓ 9 callersMethodfind_var
(self, var_or_localname)
src/model/pggan/tfutil.py:525
↓ 8 callersMethodchoose_shuffled_order
(self)
src/model/pggan/dataset_tool.py:57
↓ 8 callersMethodchoose_shuffled_order
(self)
src/ingestion/dataset_tool_modify.py:64
↓ 8 callersFunctionconv2d
(x, fmaps, kernel, gain=np.sqrt(2), use_wscale=False)
src/model/pggan/networks.py:44
↓ 7 callersMethodget_output_for
(self, *in_expr, return_as_list=False, **dynamic_kwargs)
src/model/pggan/tfutil.py:502
↓ 7 callersMethodwrite
(self, data)
src/model/pggan/misc.py:100
↓ 6 callersFunctionblock
(x, res)
src/model/pggan/networks.py:179
↓ 6 callersFunctionshape_to_list
(shape)
src/model/pggan/tfutil.py:26
↓ 5 callersFunctionPN
(x)
src/model/pggan/networks.py:168
↓ 5 callersMethodadd_labels
(self, labels)
src/model/pggan/dataset_tool.py:87
↓ 5 callersMethodadd_labels
(self, labels)
src/ingestion/dataset_tool_modify.py:94
↓ 5 callersMethodbegin
(self, mode)
src/model/pggan/metrics/ms_ssim.py:187
↓ 5 callersFunctionfp32
(*values)
src/model/pggan/loss.py:16
↓ 5 callersFunctiontorgb
(x, res)
src/model/pggan/networks.py:200
↓ 5 callersFunctionupscale2d
(x, factor=2)
src/model/pggan/networks.py:72
↓ 4 callersFunctioncset
(cur_lambda, new_cond, new_lambda)
src/model/pggan/networks.py:17
↓ 4 callersFunctiondownscale2d
(x, factor=2)
src/model/pggan/networks.py:98
↓ 4 callersFunctionfromrgb
(x, res)
src/model/pggan/networks.py:261
↓ 4 callersFunctiongen_image
tool funciton to generate image from latent variables :param latents: latent variables :return:
src/tl_gan/script_generation_interactive.py:78
↓ 4 callersMethodget_metric_formatting
(self)
src/model/pggan/metrics/ms_ssim.py:184
↓ 4 callersFunctionget_weight
(shape, gain=np.sqrt(2), use_wscale=False, fan_in=None)
src/model/pggan/networks.py:22
↓ 4 callersFunctionset_vars
(var_to_value_dict)
src/model/pggan/tfutil.py:105
↓ 3 callersFunction_download_lsun
(out_dir, category, set_name, tag)
src/ingestion/process_celeba.py:120
↓ 3 callersMethod_init_fields
(self)
src/model/pggan/tfutil.py:435
↓ 3 callersMethod_init_graph
(self)
src/model/pggan/tfutil.py:456
↓ 3 callersFunctionautosummary
(name, value)
src/model/pggan/tfutil.py:139
↓ 3 callersMethodclone
(self, name=None)
src/model/pggan/tfutil.py:576
↓ 3 callersFunctiondense
(x, fmaps, gain=np.sqrt(2), use_wscale=False)
src/model/pggan/networks.py:34
↓ 3 callersMethodend
(self, mode)
src/model/pggan/metrics/ms_ssim.py:196
↓ 3 callersMethodfeed
(self, mode, minibatch)
src/model/pggan/metrics/ms_ssim.py:191
↓ 3 callersFunctionfind_obj_in_module
(module, relative_obj_name)
src/model/pggan/tfutil.py:224
↓ 3 callersMethodflush
(self)
src/model/pggan/misc.py:106
↓ 3 callersMethodget_loss_scaling_var
(self, device)
src/model/pggan/tfutil.py:379
↓ 3 callersMethodget_var_localname
(self, var_or_globalname)
src/model/pggan/tfutil.py:516
↓ 3 callersFunctionimg_crop
crop images based on center and width, height :param img: image data, numpy array, shape = [height, width, RGB] :param cx: center pixel
src/ingestion/crop_celeba_aligned.py:24
↓ 3 callersMethodreset_optimizer_state
(self)
src/model/pggan/tfutil.py:375
↓ 2 callersFunction_create_autosummary_var
(name, value_expr)
src/model/pggan/tfutil.py:176
↓ 2 callersMethod_generate_labels
(self, minibatch)
src/model/pggan/dataset.py:222
↓ 2 callersFunction_handle_path
(path, sess)
src/model/pggan/metrics/frechet_inception_distance.py:202
↓ 2 callersMethodapply_loss_scaling
(self, value)
src/model/pggan/tfutil.py:388
↓ 2 callersMethodapply_updates
(self)
src/model/pggan/tfutil.py:304
↓ 2 callersFunctioncalculate_frechet_distance
Numpy implementation of the Frechet Distance. The Frechet distance between two multivariate Gaussians X_1 ~ N(mu_1, C_1) and X_2 ~ N(mu_2, C_2
src/model/pggan/metrics/frechet_inception_distance.py:125
↓ 2 callersFunctioncheck_or_download_inception
Checks if the path to the inception file is valid, or downloads the file if it is not present.
src/model/pggan/metrics/frechet_inception_distance.py:184
↓ 2 callersMethodclose
(self)
src/ingestion/dataset_tool_modify.py:54
↓ 2 callersMethodconfigure
(self, minibatch_size, lod=0)
src/model/pggan/dataset.py:135
↓ 2 callersMethodconfigure
(self, minibatch_size, lod=0)
src/model/pggan/dataset.py:190
↓ 2 callersFunctionconvert_to_pil_image
(image, drange=[0,1])
src/model/pggan/misc.py:62
↓ 2 callersMethodcopy_vars_from
(self, src_net)
src/model/pggan/tfutil.py:589
↓ 2 callersFunctioncreate_inception_graph
Creates a graph from saved GraphDef file.
src/model/pggan/metrics/frechet_inception_distance.py:52
↓ 2 callersFunctionexp2
(x)
src/model/pggan/tfutil.py:37
↓ 2 callersFunctionflatten2
(w)
src/model/pggan/legacy.py:62
↓ 2 callersFunctionget_activations
Calculates the activations of the pool_3 layer for all images. Params: -- images : Numpy array of dimension (n_images, hi, wi, 3). The v
src/model/pggan/metrics/frechet_inception_distance.py:88
↓ 2 callersMethodget_minibatch_tf
(self)
src/model/pggan/dataset.py:144
↓ 2 callersFunctiongrow
(x, res, lod)
src/model/pggan/networks.py:219
↓ 2 callersFunctionimport_module
(module_or_obj_name)
src/model/pggan/tfutil.py:212
↓ 2 callersFunctionimport_obj
(obj_name)
src/model/pggan/tfutil.py:230
↓ 2 callersFunctioninit_uninited_vars
(vars=None)
src/model/pggan/tfutil.py:84
↓ 2 callersFunctionlerp
(a, b, t)
src/model/pggan/networks.py:15
↓ 2 callersFunctionlerp_clip
(a, b, t)
src/model/pggan/networks.py:16
↓ 2 callersFunctionlocate_result_subdir
(run_id_or_result_subdir)
src/model/pggan/misc.py:187
↓ 2 callersMethodmodify_along_feature
(self, event, idx_feature, step_size=0.05)
src/tl_gan/script_generation_interactive.py:120
↓ 2 callersFunctionorthogonalize_one_vector
tool function, adjust vector so that it is orthogonal to vector_base (i.e., vector - its_projection_on_vector_base ) :param vector0: 1D arra
src/tl_gan/feature_axis.py:128
↓ 2 callersFunctionorthogonalize_vectors
tool function, adjust vectors so that they are orthogonal to each other, takes O(num_vector^2) time :param vectors: vectors, shape = (num_di
src/tl_gan/feature_axis.py:139
↓ 2 callersFunctionpixel_norm
(x, epsilon=1e-8)
src/model/pggan/networks.py:120
↓ 2 callersMethodprint_layers
(self, title=None, hide_layers_with_no_params=False)
src/model/pggan/tfutil.py:713
↓ 2 callersFunctionpyr_up
(minibatch)
src/model/pggan/metrics/sliced_wasserstein.py:76
↓ 2 callersMethodregister_gradients
(self, loss, vars)
src/model/pggan/tfutil.py:277
↓ 2 callersMethodreset_vars
(self)
src/model/pggan/tfutil.py:494
↓ 2 callersFunctionrot90
(v)
src/model/pggan/dataset_tool.py:495
↓ 2 callersFunctionrot90
(v)
src/ingestion/dataset_tool_modify.py:503
↓ 2 callersMethodsetup_weight_histograms
(self, title=None)
src/model/pggan/tfutil.py:738
↓ 2 callersMethodundo_loss_scaling
(self, value)
src/model/pggan/tfutil.py:395
↓ 1 callersFunction_FSpecialGauss
Function to mimic the 'fspecial' gaussian MATLAB function.
src/model/pggan/metrics/ms_ssim.py:25
↓ 1 callersFunction_HoxDownsample
(img)
src/model/pggan/metrics/ms_ssim.py:110
↓ 1 callersFunction_SSIMForMultiScale
Return the Structural Similarity Map between `img1` and `img2`. This function attempts to match the functionality of ssim_index_new.m by Zhou
src/model/pggan/metrics/ms_ssim.py:38
↓ 1 callersMethod__enter__
(self)
src/model/pggan/dataset_tool.py:155
↓ 1 callersMethod__init__
(self, num_threads)
src/model/pggan/dataset_tool.py:128
↓ 1 callersMethod__init__
(self, num_threads)
src/ingestion/dataset_tool_modify.py:135
↓ 1 callersFunction_download_cifar
(out_dir)
src/ingestion/process_celeba.py:152
↓ 1 callersMethod_generate_images
(self, minibatch, lod, shape)
src/model/pggan/dataset.py:219
↓ 1 callersFunction_get_inception_layer
Prepares inception net for batched usage and returns pool_3 layer.
src/model/pggan/metrics/frechet_inception_distance.py:64
↓ 1 callersFunction_init_inception
()
src/model/pggan/metrics/inception_score.py:72
↓ 1 callersMethodadd_task
(self, func, args=())
src/model/pggan/dataset_tool.py:138
↓ 1 callersMethodadd_task
(self, func, args=())
src/ingestion/dataset_tool_modify.py:145
↓ 1 callersFunctionadjust_dynamic_range
(data, drange_in, drange_out)
src/model/pggan/misc.py:38
next →1–100 of 308, ranked by callers