Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/stylegan2
/ functions
Functions
345 in github.com/NVlabs/stylegan2
⨍
Functions
345
◇
Types & classes
28
Function
get_top_level_function_name
Return the fully-qualified name of a top-level function.
dnnlib/util.py:270
Method
get_var_local_name
Get the local name of a given variable, without any surrounding name scopes.
dnnlib/tflib/network.py:234
Function
grad
(dy)
training/networks_stylegan.py:101
Function
grad
(dy)
dnnlib/tflib/ops/upfirdn_2d.py:135
Function
grad
(dy)
dnnlib/tflib/ops/fused_bias_act.py:165
Function
grad2
(d_dx, d_db)
dnnlib/tflib/ops/fused_bias_act.py:168
Function
grad_wrap
(dy)
dnnlib/tflib/ops/fused_bias_act.py:178
Function
import_handler
Function decorator for declaring custom import handlers.
dnnlib/tflib/network.py:29
Function
init_tf
Initialize TensorFlow session using good default settings.
dnnlib/tflib/tfutil.py:107
Function
init_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
Function
is_pickleable
(obj: Any)
dnnlib/util.py:182
Function
leaky_relu
(x, alpha=0.2)
training/networks_stylegan.py:222
Function
lerp
Linear interpolation.
dnnlib/tflib/tfutil.py:62
Function
lerp_clip
Linear interpolation with clip.
dnnlib/tflib/tfutil.py:68
Function
list_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
Function
load_dataset
(class_name=None, data_dir=None, verbose=False, **kwargs)
training/dataset.py:181
Function
load_networks
(path_or_gdrive_path)
pretrained_networks.py:64
Function
load_pkl
(file_or_url)
training/misc.py:25
Function
log2
Logarithm in base 2.
dnnlib/tflib/tfutil.py:50
Function
make_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
Function
open_url
Download the given URL and return a binary-mode file object to access the data.
dnnlib/util.py:346
Function
parse_config_for_previous_run
(run_dir)
training/misc.py:85
Method
parse_tfrecord_tf
(record)
training/dataset.py:162
Method
process_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
Function
project_generated_images
(network_pkl, seeds, num_snapshots, truncation_psi)
run_projector.py:34
Function
project_real_images
(network_pkl, dataset_name, data_dir, num_images, num_snapshots)
run_projector.py:55
Method
recurse
(scope, parent_ops, parent_vars, level)
dnnlib/tflib/network.py:468
Method
reset_trainables
Re-initialize all trainable variables of this network, including sub-networks.
dnnlib/tflib/network.py:195
Method
reset_vars
Re-initialize all variables of this network, including sub-networks.
dnnlib/tflib/network.py:191
Method
retire_result
()
dataset_tool.py:173
Function
run
(network_pkl, metrics, dataset, data_dir, mirror_augment)
run_metrics.py:20
Method
run
(self)
dataset_tool.py:117
Function
save_image_grid
(images, filename, drange=[0,1], grid_size=None)
training/misc.py:73
Function
save_pkl
(obj, filename)
training/misc.py:29
Function
save_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
Function
set_user_name_override
Set the global username override value.
dnnlib/submission/submit.py:151
Method
set_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
Function
setup_snapshot_image_grid
(training_set, size = '1080p', # '1080p' = to be viewed on 1080p display, '4k' = to be viewed on 4
training/misc.py:95
Function
shape_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
Function
style_mixing_example
(network_pkl, row_seeds, col_seeds, truncation_psi, col_styles, minibatch_size=4)
run_generator.py:40
Function
submit_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
Method
task_func
(prepared, _idx)
dataset_tool.py:170
Function
training_loop
( G_args = {}, # Options for generator network. D_args = {},
training/training_loop.py:105
Function
tuple_product
Calculate the product of the tuple elements.
dnnlib/util.py:135
Method
unwind_key
(obj)
dnnlib/tflib/network.py:390
← previous
301–345 of 345, ranked by callers