MCPcopy Create free account

hub / github.com/NVlabs/stylegan / functions

Functions280 in github.com/NVlabs/stylegan

Method_evaluate
(self, Gs, num_gpus)
metrics/metric_base.py:138
Method_evaluate
(self, Gs, num_gpus)
metrics/perceptual_path_length.py:46
Method_evaluate
(self, Gs, num_gpus)
metrics/linear_separability.py:113
Method_evaluate
(self, Gs, num_gpus)
metrics/frechet_inception_distance.py:27
Method_iterate_fakes
(self, Gs, minibatch_size, num_gpus)
metrics/metric_base.py:109
Function_legacy_output_transform_func
(*expr, out_mul=1.0, out_add=0.0, out_shrink=1, out_dtype=None)
dnnlib/tflib/network.py:576
Functionabsolute_variable_scope
Forcefully enter the specified variable scope, ignoring any surrounding scopes.
dnnlib/tflib/tfutil.py:74
Functionapply_mirror_augment
(minibatch)
training/misc.py:187
Functionask_yes_no
Ask the user the question until the user inputs a valid answer.
dnnlib/util.py:126
Functioncall_func_by_name
Finds the python object with the given name and calls it as a function.
dnnlib/util.py:252
Functioncompare
(tfrecord_dir_a, tfrecord_dir_b, ignore_labels)
dataset_tool.py:246
Methodconvert
Create new network with the given parameters, and copy all variables from this network.
dnnlib/tflib/network.py:332
Functionconvert_images_from_uint8
Convert a minibatch of images from uint8 to float32 with configurable dynamic range. Can be used as an input transformation for Network.run().
dnnlib/tflib/tfutil.py:218
Functionconvert_images_to_uint8
Convert a minibatch of images from float32 to uint8 with configurable dynamic range. Can be used as an output transformation for Network.run().
dnnlib/tflib/tfutil.py:228
Functionconvert_path
Convert a normal path to template and the convert it back to a normal path with given path type.
dnnlib/submission/submit.py:130
Functioncopy_files_and_create_dirs
Takes in a list of tuples of (src, dst) paths and copies files. Will create all necessary directories.
dnnlib/util.py:313
Methodcopy_own_vars_from
Copy the values of all variables from the given network, excluding sub-networks.
dnnlib/tflib/network.py:317
Methodcopy_trainables_from
Copy the values of all trainable variables from the given network, including sub-networks.
dnnlib/tflib/network.py:327
Functioncreate_celeba
(tfrecord_dir, celeba_dir, cx=89, cy=121)
dataset_tool.py:484
Functioncreate_cifar10
(tfrecord_dir, cifar10_dir)
dataset_tool.py:330
Functioncreate_cifar100
(tfrecord_dir, cifar100_dir)
dataset_tool.py:357
Functioncreate_from_hdf5
(tfrecord_dir, hdf5_filename, shuffle)
dataset_tool.py:531
Functioncreate_from_images
(tfrecord_dir, image_dir, shuffle)
dataset_tool.py:503
Functioncreate_lsun
(tfrecord_dir, lmdb_dir, resolution=256, max_images=None)
dataset_tool.py:406
Functioncreate_lsun_wide
(tfrecord_dir, lmdb_dir, width=512, height=384, max_images=None)
dataset_tool.py:439
Functioncreate_mnist
(tfrecord_dir, mnist_dir)
dataset_tool.py:289
Functioncreate_mnistrgb
(tfrecord_dir, mnist_dir, num_images=1000000, random_seed=123)
dataset_tool.py:313
Functioncreate_svhn
(tfrecord_dir, svhn_dir)
dataset_tool.py:379
Functioncreate_var_with_large_initial_value
Create tf.Variable with large initial value without bloating the tf graph.
dnnlib/tflib/tfutil.py:208
Functiondisplay
(tfrecord_dir)
dataset_tool.py:193
Functionexp2
Exponent in base 2.
dnnlib/tflib/tfutil.py:51
Functionextract
(tfrecord_dir, output_dir)
dataset_tool.py:219
Functionflatten
Shortcut function for flattening a tensor.
dnnlib/tflib/tfutil.py:39
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:112
Functionget_dtype_and_ctype
Given a type name string (or an object having a __name__ attribute), return matching Numpy and ctypes types that have the same size in bytes.
dnnlib/util.py:160
Functionget_id_string_for_network_pkl
(network_pkl)
training/misc.py:145
Methodget_minibatch_np
(self, minibatch_size, lod=0)
training/dataset.py:203
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
dnnlib/util.py:260
Methodget_random_labels_np
(self, minibatch_size)
training/dataset.py:163
Methodget_random_labels_np
(self, minibatch_size)
training/dataset.py:213
Methodget_result_str
(self)
metrics/metric_base.py:127
Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
dnnlib/util.py:271
Methodget_var_local_name
Get the local name of a given variable, without any surrounding name scopes.
dnnlib/tflib/network.py:235
Functiongrad
(dy)
training/networks_stylegan.py:102
Functionimport_handler
Function decorator for declaring custom import handlers.
dnnlib/tflib/network.py:30
Functioninit_tf
Initialize TensorFlow session using good default settings.
dnnlib/tflib/tfutil.py:94
Functioninit_uninitialized_vars
Initialize all tf.Variables that have not already been initialized. Equivalent to the following, but more efficient and does not bloat the tf gra
dnnlib/tflib/tfutil.py:152
Functionis_pickleable
(obj: Any)
dnnlib/util.py:183
Functionleaky_relu
(x, alpha=0.2)
training/networks_progan.py:67
Functionleaky_relu
(x, alpha=0.2)
training/networks_stylegan.py:223
Functionlerp
Linear interpolation.
dnnlib/tflib/tfutil.py:57
Functionlerp_clip
Linear interpolation with clip.
dnnlib/tflib/tfutil.py:63
Functionlist_dir_recursively_with_ignore
List all files recursively in a given directory while ignoring given file and directory names. Returns list of tuples containing both absolute and
dnnlib/util.py:280
Functionload_dataset
(class_name='training.dataset.TFRecordDataset', data_dir=None, verbose=False, **kwargs)
training/dataset.py:228
Functionload_dataset_for_previous_run
(run_id, **kwargs)
training/misc.py:180
Functionload_network_pkl
(run_id_or_run_dir_or_network_pkl, snapshot_or_network_pkl=None)
training/misc.py:152
Functionlog2
Logarithm in base 2.
dnnlib/tflib/tfutil.py:45
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
dnnlib/util.py:345
Functionparse_tfrecord_tf
(record)
training/dataset.py:20
Methodprocess_items_concurrently
(self, item_iterator, process_func=lambda x: x, pre_func=lambda x: x, post_func=lambda x: x, max_items_in_flig
dataset_tool.py:165
Methodrecurse
(scope, parent_ops, parent_vars, level)
dnnlib/tflib/network.py:469
Methodreset_trainables
Re-initialize all trainable variables of this network, including sub-networks.
dnnlib/tflib/network.py:196
Methodreset_vars
Re-initialize all variables of this network, including sub-networks.
dnnlib/tflib/network.py:192
Methodretire_result
()
dataset_tool.py:174
Functionrun_all_snapshots
(submit_config, metric_args, run_id)
run_metrics.py:46
Functionrun_pickle
(submit_config, metric_args, network_pkl, dataset_args, mirror_augment)
run_metrics.py:20
Functionrun_snapshot
(submit_config, metric_args, run_id, snapshot)
run_metrics.py:32
Functionsave_image
(image, filename, drange=[0,1], quality=95)
training/misc.py:79
Functionsave_image_grid
(images, filename, drange=[0,1], grid_size=None)
training/misc.py:86
Functionsave_pkl
(obj, filename)
training/misc.py:35
Functionsave_summaries
Call FileWriter.add_summary() with all summaries in the default graph, automatically finalizing and merging them on the first call.
dnnlib/tflib/autosummary.py:170
Functionset_user_name_override
Set the global username override value.
dnnlib/submission/submit.py:137
Methodset_var
Set the value of a given variable based on the given NumPy array. Note: This method is very inefficient -- prefer to use tflib.set_vars() when
dnnlib/tflib/network.py:251
Functionsetup_snapshot_image_grid
(G, training_set, size = '1080p', # '1080p' = to be viewed on 1080p display, '4k' = to be viewed o
training/misc.py:197
Functionshape_to_list
Convert a Tensorflow shape to a list of ints.
dnnlib/tflib/tfutil.py:34
Functionsubmit_run
Create a run dir, gather files related to the run, copy files to the run dir, and launch the run in appropriate place.
dnnlib/submission/submit.py:263
Methodtask_func
(prepared, _idx)
dataset_tool.py:171
Functiontraining_loop
( submit_config, G_args = {}, # Options for generator network. D_args
training/training_loop.py:112
Functiontuple_product
Calculate the product of the tuple elements.
dnnlib/util.py:136
Methodunwind_key
(obj)
dnnlib/tflib/network.py:391
← previous201–280 of 280, ranked by callers