MCPcopy Create free account

hub / github.com/NVlabs/stylegan2-ada / functions

Functions336 in github.com/NVlabs/stylegan2-ada

Functionlog2
Logarithm in base 2.
dnnlib/tflib/tfutil.py:52
Methodname
User-specified name string.
dnnlib/tflib/network.py:185
Methodnoises
(self)
projector.py:192
Methodnum_inputs
Number of input tensors.
dnnlib/tflib/network.py:240
Methodnum_outputs
Number of output tensors.
dnnlib/tflib/network.py:245
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
dnnlib/util.py:379
Methodoutput_names
Name string for each output.
dnnlib/tflib/network.py:257
Methodoutput_shape
Short-hand for output_shapes[0].
dnnlib/tflib/network.py:235
Methodoutput_shapes
List of output tensor shapes, including minibatch dimension.
dnnlib/tflib/network.py:223
Methodoutput_templates
Output tensors in the template graph.
dnnlib/tflib/network.py:272
Methodown_vars
Variables defined by this network (local_name => var), excluding sub-networks.
dnnlib/tflib/network.py:280
Functionpack
(unpacked_dir, tfrecord_dir, num_train=None, num_validation=None, mirror=0, seed=None)
dataset_tool.py:780
Methodparse_tfrecord_tf
(record)
training/dataset.py:206
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:270
Methodrecurse
(scope, parent_ops, parent_vars, level)
dnnlib/tflib/network.py:656
Methodreset_own_vars
Re-initialize all variables of this network, excluding sub-networks.
dnnlib/tflib/network.py:322
Methodreset_trainables
Re-initialize all trainable variables of this network, including sub-networks.
dnnlib/tflib/network.py:341
Methodreset_vars
Re-initialize all variables of this network, including sub-networks.
dnnlib/tflib/network.py:330
Methodretire_result
()
dataset_tool.py:279
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:179
Methodscope
Unique TensorFlow scope containing template graph and variables, derived from the user-specified name.
dnnlib/tflib/network.py:190
Functionset_cache_dir
(path: str)
dnnlib/util.py:117
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:398
Methodsetup_weight_histograms
Construct summary ops to include histograms of all trainable parameters in TensorBoard.
dnnlib/tflib/network.py:726
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:41
Methodstatic_kwargs
EasyDict of arguments passed to the user-supplied build func.
dnnlib/tflib/network.py:200
Functionstylegan2
(G, D, aug, fake_labels, real_images, real_labels, r1_gamma=10, pl_minibatch_shrink=2, pl_decay=0.01, pl_weigh
training/loss.py:91
Methodtask_func
(prepared, _idx)
dataset_tool.py:276
Methodtrainables
All trainable variables (local_name => var).
dnnlib/tflib/network.py:303
Functiontraining_loop
( run_dir = '.', # Output directory. G_args = {}, # Option
training/training_loop.py:82
Functiontuple_product
Calculate the product of the tuple elements.
dnnlib/util.py:160
Functionunpack
(tfrecord_dir, output_dir, resolution=None)
dataset_tool.py:746
Methodunwind_key
(obj)
dnnlib/tflib/network.py:577
Methodvar_global_to_local
Mapping from variable global names to local names.
dnnlib/tflib/network.py:313
Methodvars
All variables (local_name => var).
dnnlib/tflib/network.py:291
Functionwgangp
(G, D, aug, fake_labels, real_images, real_labels, wgan_epsilon=0.001, wgan_lambda=10, wgan_target=1, **_kwarg
training/loss.py:276
← previous301–336 of 336, ranked by callers