MCPcopy Create free account

hub / github.com/SummitKwan/transparent_latent_gan / functions

Functions308 in github.com/SummitKwan/transparent_latent_gan

↓ 1 callersFunctionarctanh_clip
(y)
src/tl_gan/feature_axis.py:23
↓ 1 callersFunctioncalculate_activation_statistics
Calculation of the statistics used by the FID. Params: -- images : Numpy array of dimension (n_images, hi, wi, 3). The values
src/model/pggan/metrics/frechet_inception_distance.py:156
↓ 1 callersFunctioncalculate_fid_given_paths
Calculates the FID of two paths.
src/model/pggan/metrics/frechet_inception_distance.py:215
↓ 1 callersFunctionconv2d_downscale2d
(x, fmaps, kernel, gain=np.sqrt(2), use_wscale=False)
src/model/pggan/networks.py:109
↓ 1 callersFunctioncreate_button
function to built button groups for one feature
src/tl_gan/script_generation_interactive.py:149
↓ 1 callersFunctioncreate_cnn_model
create keras model with convolution layers of MobileNet and added fully connected layers on to top :param size_output: number of nodes in the
src/model/cnn_face_attr_celeba.py:24
↓ 1 callersFunctioncreate_image_grid
(images, grid_size=None)
src/model/pggan/misc.py:45
↓ 1 callersFunctioncreate_session
(config_dict=dict(), force_as_default=False)
src/model/pggan/tfutil.py:64
↓ 1 callersFunctiondisentangle_feature_axis
make feature_axis_target orthogonal to feature_axis_base :param feature_axis_target: features axes to decorrerelate, shape = (num_dim, num_f
src/tl_gan/feature_axis.py:47
↓ 1 callersFunctiondownload
(url, dirpath)
src/ingestion/process_celeba.py:28
↓ 1 callersFunctiondownload_celeb_a
(dirpath)
src/ingestion/process_celeba.py:100
↓ 1 callersFunctiondownload_cifar
(dirpath)
src/ingestion/process_celeba.py:170
↓ 1 callersFunctiondownload_mnist
(dirpath)
src/ingestion/process_celeba.py:178
↓ 1 callersFunctionexecute_cmdline
(argv)
src/model/pggan/dataset_tool.py:641
↓ 1 callersFunctionexecute_cmdline
(argv)
src/ingestion/dataset_tool_modify.py:649
↓ 1 callersFunctionfinalize_autosummaries
()
src/model/pggan/tfutil.py:158
↓ 1 callersFunctionfinalize_descriptors
(desc)
src/model/pggan/metrics/sliced_wasserstein.py:27
↓ 1 callersMethodfinish
(self)
src/model/pggan/dataset_tool.py:151
↓ 1 callersMethodfinish
(self)
src/ingestion/dataset_tool_modify.py:158
↓ 1 callersMethodflush
(self)
src/model/pggan/misc.py:121
↓ 1 callersFunctionfun_get_img
(file_img)
src/ingestion/crop_celeba_aligned.py:95
↓ 1 callersFunctiongen_image
tool funciton to generate image from latent variables :param latents: latent variables :return:
src/tl_gan/bokeh_webgui_server.py:67
↓ 1 callersFunctiongen_time_str
()
src/model/cnn_face_attr_celeba.py:180
↓ 1 callersFunctiongen_time_str
tool function
src/tl_gan/script_generation_interactive.py:19
↓ 1 callersFunctiongenerate_laplacian_pyramid
(minibatch, num_levels)
src/model/pggan/metrics/sliced_wasserstein.py:83
↓ 1 callersFunctionget_data_info
function to get names of images files and and pandas data-frame containing face attributes :param path_celeba_img: path to image files direc
src/model/cnn_face_attr_celeba.py:64
↓ 1 callersFunctionget_data_sample
function to load one image and the corresponding attributes, either using idx_img or img_name :param img_idx: index of image :param i
src/model/cnn_face_attr_celeba.py:102
↓ 1 callersFunctionget_descriptors_for_minibatch
(minibatch, nhood_size, nhoods_per_image)
src/model/pggan/metrics/sliced_wasserstein.py:13
↓ 1 callersFunctionget_feature
get a list of features from images :param x: generated images, of shape [num_images, height, width, rgb] :return: feature table, of shap
src/tl_gan/script_old_discover_feature_axis.py:27
↓ 1 callersFunctionget_filename_from_idx
(idx)
src/tl_gan/script_transform_sample_pickle_to_img.py:22
↓ 1 callersFunctionget_img_for_bokeh
(img)
src/tl_gan/bokeh_webgui_server.py:83
↓ 1 callersFunctionget_inception_score
(images, splits=10)
src/model/pggan/metrics/inception_score.py:41
↓ 1 callersFunctionget_loc_control
(idx_feature, nrows=8, ncols=5, xywh_range=(0.51, 0.05, 0.48, 0.8))
src/tl_gan/script_generation_interactive.py:139
↓ 1 callersMethodget_metric_names
(self)
src/model/pggan/metrics/sliced_wasserstein.py:110
↓ 1 callersMethodget_metric_names
(self)
src/model/pggan/metrics/ms_ssim.py:181
↓ 1 callersMethodget_minibatch_tf
(self)
src/model/pggan/dataset.py:195
↓ 1 callersMethodget_random_labels_tf
(self, minibatch_size)
src/model/pggan/dataset.py:155
↓ 1 callersMethodget_random_labels_tf
(self, minibatch_size)
src/model/pggan/dataset.py:209
↓ 1 callersMethodget_result
(self, func)
src/model/pggan/dataset_tool.py:144
↓ 1 callersMethodget_result
(self, func)
src/ingestion/dataset_tool_modify.py:151
↓ 1 callersFunctionhe_std
(gain, w)
src/model/pggan/legacy.py:63
↓ 1 callersFunctionlerp
(a, b, t)
src/model/pggan/tfutil.py:41
↓ 1 callersMethodlist_layers
(self)
src/model/pggan/tfutil.py:681
↓ 1 callersFunctionlist_network_pkls
(run_id_or_result_subdir, include_final=True)
src/model/pggan/misc.py:208
↓ 1 callersFunctionload_data_batch
load data and preprocess before feeding it to Keras model :param num_images_total: :return:
src/model/cnn_face_attr_celeba.py:132
↓ 1 callersFunctionload_pkl
(filename)
src/model/pggan/misc.py:27
↓ 1 callersFunctionlocate_network_pkl
(run_id_or_result_subdir_or_network_pkl, snapshot=None)
src/model/pggan/misc.py:217
↓ 1 callersFunctionminibatch_stddev_layer
(x, group_size=4)
src/model/pggan/networks.py:127
↓ 1 callersFunctionmsssim
Return the MS-SSIM score between `img1` and `img2`. This function implements Multi-Scale Structural Similarity (MS-SSIM) Image Quality Assess
src/model/pggan/metrics/ms_ssim.py:113
↓ 1 callersFunctionnormalize_feature_axis
function to normalize the slope of features axis so that they have the same length :param feature_slope: array of feature axis, shape = (num
src/tl_gan/feature_axis.py:35
↓ 1 callersFunctionparse_tfrecord_np
(record)
src/model/pggan/dataset.py:24
↓ 1 callersFunctionprepare_data_dir
(path = path_data_raw)
src/ingestion/process_celeba.py:198
↓ 1 callersFunctionprocess_func
(idx)
src/model/pggan/dataset_tool.py:498
↓ 1 callersFunctionprocess_func
(idx)
src/ingestion/dataset_tool_modify.py:506
↓ 1 callersMethodprocess_items_concurrently
(self, item_iterator, process_func=lambda x: x, pre_func=lambda x: x, post_func=lambda x: x, max_items_in_flig
src/model/pggan/dataset_tool.py:161
↓ 1 callersMethodprocess_items_concurrently
(self, item_iterator, process_func=lambda x: x, pre_func=lambda x: x, post_func=lambda x: x, max_items_in_flig
src/ingestion/dataset_tool_modify.py:168
↓ 1 callersFunctionprocess_reals
(x, lod, mirror_augment, drange_data, drange_net)
src/model/pggan/train.py:56
↓ 1 callersFunctionpyr_down
(minibatch)
src/model/pggan/metrics/sliced_wasserstein.py:72
↓ 1 callersFunctionreshape_celebA
(path_to_data)
src/ingestion/process_celeba.py:63
↓ 1 callersFunctionsave_to_h5_img
save the images as hdf5 format
src/ingestion/crop_celeba_aligned.py:106
↓ 1 callersMethodset_feature_lock
(self, event, idx_feature)
src/tl_gan/script_generation_interactive.py:128
↓ 1 callersMethodset_log_file
(self, filename, mode='wt')
src/model/pggan/misc.py:93
↓ 1 callersFunctionset_output_log_file
(filename, mode='wt')
src/model/pggan/misc.py:134
↓ 1 callersMethodsetup_as_moving_average_of
(self, src_net, beta=0.99, beta_nontrainable=0.0)
src/model/pggan/tfutil.py:608
↓ 1 callersFunctionsetup_snapshot_image_grid
(G, training_set, size = '1080p', # '1080p' = to be viewed on 1080p display, '4k' = to be viewed o
src/model/pggan/train.py:22
↓ 1 callersFunctionsetup_text_label
(text, font='Calibri', fontsize=32, padding=6, glow_size=2.0, glow_coef=3.0, glow_exp=2.0, cache_size=100)
src/model/pggan/misc.py:319
↓ 1 callersFunctionsliced_wasserstein
(A, B, dir_repeats, dirs_per_repeat)
src/model/pggan/metrics/sliced_wasserstein.py:38
↓ 1 callersFunctionupscale2d_conv2d
(x, fmaps, kernel, gain=np.sqrt(2), use_wscale=False)
src/model/pggan/networks.py:86
↓ 1 callersFunctionwscale
(gain, w)
src/model/pggan/legacy.py:64
FunctionD_paper
( images_in, # Input: Images [minibatch, channel, height, width]. num_channel
src/model/pggan/networks.py:234
FunctionD_wgangp_acgan
(G, D, opt, training_set, minibatch_size, reals, labels, wgan_lambda = 10.0, # Weight for the grad
src/model/pggan/loss.py:43
FunctionG_paper
( latents_in, # First input: Latent vectors [minibatch, latent_size]. labels_i
src/model/pggan/networks.py:144
FunctionG_wgan_acgan
(G, D, opt, training_set, minibatch_size, cond_weight = 1.0)
src/model/pggan/loss.py:25
Method__delattr__
(self, name)
src/model/pggan/config.py:16
Method__enter__
(self)
src/model/pggan/dataset_tool.py:94
Method__enter__
(self)
src/ingestion/dataset_tool_modify.py:101
Method__enter__
(self)
src/ingestion/dataset_tool_modify.py:162
Method__exit__
(self, *args)
src/model/pggan/dataset_tool.py:97
Method__exit__
(self, *excinfo)
src/model/pggan/dataset_tool.py:158
Method__exit__
(self, *args)
src/ingestion/dataset_tool_modify.py:104
Method__exit__
(self, *excinfo)
src/ingestion/dataset_tool_modify.py:165
Method__getattr__
(self, name)
src/model/pggan/config.py:14
Method__getstate__
(self)
src/model/pggan/tfutil.py:540
Method__init__
(self, *args, **kwargs)
src/model/pggan/config.py:13
Method__init__
(self, *args, **kwargs)
src/model/pggan/legacy.py:20
Method__init__
( self, cur_nimg, training_set, lod_initial_resolution = 4, # Image re
src/model/pggan/train.py:86
Method__init__
(self)
src/model/pggan/misc.py:89
Method__init__
(self, child_streams, autoflush=False)
src/model/pggan/misc.py:111
Method__init__
(self, tfrecord_dir, expected_images, print_progress=True, progress_interval=10)
src/model/pggan/dataset_tool.py:31
Method__init__
(self)
src/model/pggan/dataset_tool.py:103
Method__init__
(self, task_queue)
src/model/pggan/dataset_tool.py:110
Method__init__
(self, tfrecord_dir, # Directory containing a collection of tfrecords files. res
src/model/pggan/dataset.py:35
Method__init__
(self, resolution=1024, num_channels=3, dtype='uint8', dynamic_range=[0,255], label_size=0, label_dtype='float
src/model/pggan/dataset.py:172
Method__init__
( self, name = 'Train', tf_optimizer = 'tf.train.AdamOptimizer',
src/model/pggan/tfutil.py:247
Method__init__
(self, name=None, # Network name. Used to select TensorFlow name and variable scopes.
src/model/pggan/tfutil.py:417
Method__init__
(self, num_images, image_shape, image_dtype, minibatch_size)
src/model/pggan/metrics/sliced_wasserstein.py:99
Method__init__
(self, num_images, image_shape, image_dtype, minibatch_size)
src/model/pggan/metrics/inception_score.py:122
Method__init__
(self, num_images, image_shape, image_dtype, minibatch_size)
src/model/pggan/metrics/ms_ssim.py:177
Method__init__
(self, num_images, image_shape, image_dtype, minibatch_size)
src/model/pggan/metrics/frechet_inception_distance.py:250
Method__init__
(self, tfrecord_dir, expected_images, print_progress=True, progress_interval=10)
src/ingestion/dataset_tool_modify.py:38
← previousnext →101–200 of 308, ranked by callers