MCPcopy Create free account

hub / github.com/NVlabs/stylegan2 / functions

Functions345 in github.com/NVlabs/stylegan2

Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
dnnlib/util.py:270
Methodget_var_local_name
Get the local name of a given variable, without any surrounding name scopes.
dnnlib/tflib/network.py:234
Functiongrad
(dy)
training/networks_stylegan.py:101
Functiongrad
(dy)
dnnlib/tflib/ops/upfirdn_2d.py:135
Functiongrad
(dy)
dnnlib/tflib/ops/fused_bias_act.py:165
Functiongrad2
(d_dx, d_db)
dnnlib/tflib/ops/fused_bias_act.py:168
Functiongrad_wrap
(dy)
dnnlib/tflib/ops/fused_bias_act.py:178
Functionimport_handler
Function decorator for declaring custom import handlers.
dnnlib/tflib/network.py:29
Functioninit_tf
Initialize TensorFlow session using good default settings.
dnnlib/tflib/tfutil.py:107
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:164
Functionis_pickleable
(obj: Any)
dnnlib/util.py:182
Functionleaky_relu
(x, alpha=0.2)
training/networks_stylegan.py:222
Functionlerp
Linear interpolation.
dnnlib/tflib/tfutil.py:62
Functionlerp_clip
Linear interpolation with clip.
dnnlib/tflib/tfutil.py:68
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:279
Functionload_dataset
(class_name=None, data_dir=None, verbose=False, **kwargs)
training/dataset.py:181
Functionload_networks
(path_or_gdrive_path)
pretrained_networks.py:64
Functionload_pkl
(file_or_url)
training/misc.py:25
Functionlog2
Logarithm in base 2.
dnnlib/tflib/tfutil.py:50
Functionmake_run_dir_path
Make a path/filename that resides under the current submit run_dir. Args: *paths: Path components to be passed to os.path.join Retur
dnnlib/submission/submit.py:173
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
dnnlib/util.py:346
Functionparse_config_for_previous_run
(run_dir)
training/misc.py:85
Methodparse_tfrecord_tf
(record)
training/dataset.py:162
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:164
Functionproject_generated_images
(network_pkl, seeds, num_snapshots, truncation_psi)
run_projector.py:34
Functionproject_real_images
(network_pkl, dataset_name, data_dir, num_images, num_snapshots)
run_projector.py:55
Methodrecurse
(scope, parent_ops, parent_vars, level)
dnnlib/tflib/network.py:468
Methodreset_trainables
Re-initialize all trainable variables of this network, including sub-networks.
dnnlib/tflib/network.py:195
Methodreset_vars
Re-initialize all variables of this network, including sub-networks.
dnnlib/tflib/network.py:191
Methodretire_result
()
dataset_tool.py:173
Functionrun
(network_pkl, metrics, dataset, data_dir, mirror_augment)
run_metrics.py:20
Methodrun
(self)
dataset_tool.py:117
Functionsave_image_grid
(images, filename, drange=[0,1], grid_size=None)
training/misc.py:73
Functionsave_pkl
(obj, filename)
training/misc.py:29
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:177
Functionset_user_name_override
Set the global username override value.
dnnlib/submission/submit.py:151
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:250
Functionsetup_snapshot_image_grid
(training_set, size = '1080p', # '1080p' = to be viewed on 1080p display, '4k' = to be viewed on 4
training/misc.py:95
Functionshape_to_list
Convert a Tensorflow shape to a list of ints. Retained for backwards compatibility -- use TensorShape.as_list() in new code.
dnnlib/tflib/tfutil.py:39
Functionstyle_mixing_example
(network_pkl, row_seeds, col_seeds, truncation_psi, col_styles, minibatch_size=4)
run_generator.py:40
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:310
Methodtask_func
(prepared, _idx)
dataset_tool.py:170
Functiontraining_loop
( G_args = {}, # Options for generator network. D_args = {},
training/training_loop.py:105
Functiontuple_product
Calculate the product of the tuple elements.
dnnlib/util.py:135
Methodunwind_key
(obj)
dnnlib/tflib/network.py:390
← previous301–345 of 345, ranked by callers