MCPcopy Create free account

hub / github.com/RameenAbdal/StyleFlow / functions

Functions329 in github.com/RameenAbdal/StyleFlow

↓ 21 callersMethodrun
Run this network for the given NumPy array(s), and return the output(s) as NumPy array(s). Args: input_transform: A dict speci
dnnlib/tflib/network.py:353
↓ 16 callersFunction_shape
(tf_expr, dim_idx)
dnnlib/tflib/ops/upfirdn_2d.py:337
↓ 13 callersMethodclone
Create a clone of this network with its own copy of the variables.
dnnlib/tflib/network.py:301
↓ 12 callersMethodupdate
Do general housekeeping and keep the state of the context up-to-date. Should be called often enough but not in a tight loop.
dnnlib/submission/run_context.py:63
↓ 11 callersMethodreset_items
(self)
ui/GT_mouse_event.py:17
↓ 8 callersMethodgenerate_im_from_w_space
(self, w)
utils.py:248
↓ 7 callersMethodget
()
dnnlib/submission/run_context.py:106
↓ 7 callersMethodreset
(self)
ui/GT_mouse_event.py:14
↓ 6 callersMethod__init__
(self, dim_in, dim_out, dim_c)
module/diffeq_layers.py:61
↓ 5 callersFunction_setup_kernel
(k)
dnnlib/tflib/ops/upfirdn_2d.py:344
↓ 5 callersFunction_simple_upfirdn_2d
(x, k, up=1, down=1, pad0=0, pad1=0, data_format='NCHW', impl='cuda')
dnnlib/tflib/ops/upfirdn_2d.py:353
↓ 4 callersFunctionassert_tf_initialized
Check that TensorFlow session has been initialized.
dnnlib/tflib/tfutil.py:135
↓ 4 callersMethodclose
Close the context and clean up. Should only be called once.
dnnlib/submission/run_context.py:90
↓ 4 callersMethodget_var
Get the value of a given variable as NumPy array. Note: This method is very inefficient -- prefer to use tflib.run(list_of_vars) whenever poss
dnnlib/tflib/network.py:245
↓ 4 callersMethodrender
(self, attr_index, raw_slide_value, sess)
ui/real_time_attr_thread.py:23
↓ 4 callersMethodshape
(self)
module/normalization.py:30
↓ 3 callersMethod__init__
(self)
module/odefunc.py:31
↓ 3 callersMethod_init_fields
(self)
dnnlib/tflib/network.py:100
↓ 3 callersMethod_init_graph
(self)
dnnlib/tflib/network.py:125
↓ 3 callersMethodclose
Flush, close possible files, and remove stdout/stderr mirroring.
dnnlib/util.py:93
↓ 3 callersFunctioncnf
(input_dim,dims,zdim,num_blocks)
module/flow.py:77
↓ 3 callersMethodfind_var
Find variable by local or global name.
dnnlib/tflib/network.py:240
↓ 3 callersFunctionget_obj_from_module
Traverses the object name and returns the last (rightmost) python object.
dnnlib/util.py:235
↓ 3 callersFunctionget_path_from_template
Replace tags in the given path template and return either Windows or Linux formatted path.
dnnlib/submission/submit.py:116
↓ 3 callersFunctionrun
Run the specified ops in the default session.
dnnlib/tflib/tfutil.py:28
↓ 3 callersMethodsetupUi
(self, Form)
ui/ui.py:75
↓ 3 callersMethodupdate_GT_scene_image
(self)
main.py:127
↓ 3 callersMethodupdate_scene_image
(self)
main.py:117
↓ 2 callersFunction_create_var
Internal helper for creating autosummary accumulators.
dnnlib/tflib/autosummary.py:45
↓ 2 callersMethod_get_device
Get internal state for the given TensorFlow device.
dnnlib/tflib/optimizer.py:84
↓ 2 callersFunction_get_plugin
()
dnnlib/tflib/ops/upfirdn_2d.py:14
↓ 2 callersMethod_logdetgrad
(self, x, used_var)
module/normalization.py:111
↓ 2 callersFunction_make_iter_
(loader)
module/utils.py:172
↓ 2 callersFunction_prepare_nvcc_cli
(opts)
dnnlib/tflib/custom_ops.py:63
↓ 2 callersFunction_run_cmd
(cmd)
dnnlib/tflib/custom_ops.py:56
↓ 2 callersFunction_sanitize_tf_config
(config_dict: dict = None)
dnnlib/tflib/tfutil.py:84
↓ 2 callersFunctionabsolute_name_scope
Forcefully enter the specified name scope, ignoring any surrounding scopes.
dnnlib/tflib/tfutil.py:74
↓ 2 callersMethodcopy_vars_from
Copy the values of all variables from the given network, including sub-networks.
dnnlib/tflib/network.py:321
↓ 2 callersMethodflush
Flush written text to both stdout and a file, if open.
dnnlib/util.py:86
↓ 2 callersFunctionfunc_y
(x, b)
dnnlib/tflib/ops/fused_bias_act.py:126
↓ 2 callersMethodget_loss_scaling_var
Get or create variable representing log2 of the current dynamic loss scaling factor.
dnnlib/tflib/optimizer.py:271
↓ 2 callersFunctionget_module_from_obj_name
Searches for the underlying module behind the name to some python object. Returns the module and the object name (original name with module part r
dnnlib/util.py:194
↓ 2 callersFunctionget_user_name
Get the current user name.
dnnlib/submission/submit.py:157
↓ 2 callersFunctiongrad2_d_dy
(d_dx, d_db, x, y)
dnnlib/tflib/ops/fused_bias_act.py:149
↓ 2 callersFunctiongrad_db
(dx)
dnnlib/tflib/ops/fused_bias_act.py:137
↓ 2 callersFunctiongrad_dx
(dy, x, y)
dnnlib/tflib/ops/fused_bias_act.py:132
↓ 2 callersFunctionis_tf_expression
Check whether the input is a valid Tensorflow expression, i.e., Tensorflow Tensor, Variable, or Operation.
dnnlib/tflib/tfutil.py:34
↓ 2 callersMethodparse
(self)
options/base_options.py:53
↓ 2 callersMethodpre_computing_distance
(self)
main_attribute.py:120
↓ 2 callersFunctionreduce_tensor
(tensor, world_size=None)
module/utils.py:83
↓ 2 callersMethodreset_own_vars
Re-initialize all variables of this network, excluding sub-networks.
dnnlib/tflib/network.py:187
↓ 2 callersMethodupdate_GT_scene_image
(self)
main_attribute.py:135
↓ 1 callersMethod__enter__
(self)
dnnlib/submission/run_context.py:57
↓ 1 callersMethod__init__
(self, opt)
main_attribute.py:45
↓ 1 callersMethod__init__
(self, opt)
main.py:46
↓ 1 callersMethod__init__
(self, odefunc, conditional=True, T=1.0, train_T=False, regularization_fns=None, solver='dop
module/cnf.py:35
↓ 1 callersMethod__init__
(self, Form)
ui/mouse_event2.py:16
↓ 1 callersMethod__init__
(self, Form)
ui/mouse_event.py:16
↓ 1 callersFunction_create_run_dir_local
Create a new run dir with increasing ID number at the start.
dnnlib/submission/submit.py:192
↓ 1 callersFunction_find_compiler_bindir
()
dnnlib/tflib/custom_ops.py:36
↓ 1 callersFunction_flip
(x, dim)
module/cnf.py:125
↓ 1 callersMethod_forward
(self, x, logpx=None)
module/normalization.py:46
↓ 1 callersFunction_fused_bias_act_ref
Slow reference implementation of `fused_bias_act()` using standard TensorFlow ops.
dnnlib/tflib/ops/fused_bias_act.py:72
↓ 1 callersFunction_get_compute_cap
(device)
dnnlib/tflib/custom_ops.py:42
↓ 1 callersFunction_get_cuda_gpu_arch_string
()
dnnlib/tflib/custom_ops.py:49
↓ 1 callersFunction_get_next_run_id_local
Reads all directory names in a given directory (non-recursive) and returns the next (increasing) run id. Assumes IDs are numbers at the start of the d
dnnlib/submission/submit.py:211
↓ 1 callersFunction_get_plugin
()
dnnlib/tflib/ops/fused_bias_act.py:15
↓ 1 callersFunction_handle_legacy_output_transforms
(output_transform, dynamic_kwargs)
dnnlib/tflib/network.py:555
↓ 1 callersFunction_populate_run_dir
Copy all necessary files into the run dir. Assumes that the dir exists, is local, and is writable.
dnnlib/submission/submit.py:227
↓ 1 callersMethod_reverse
(self, y, logpy=None)
module/normalization.py:93
↓ 1 callersMethodadd_Parameters_widgets
(self,Form)
ui/ui2.py:218
↓ 1 callersMethodadd_Parameters_widgets
(self,Form)
ui/ui.py:214
↓ 1 callersMethodadd_intermediate_results_button
(self, Form)
ui/ui2.py:174
↓ 1 callersMethodadd_intermediate_results_button
(self, Form)
ui/ui.py:167
↓ 1 callersMethodadd_lighting_widgets
(self,Form)
ui/ui.py:286
↓ 1 callersMethodadd_tool_buttons
(self, Form)
ui/ui2.py:117
↓ 1 callersMethodadd_tool_buttons
(self, Form)
ui/ui.py:110
↓ 1 callersMethodapply_gradients
(self, grads_and_vars)
dnnlib/tflib/optimizer.py:308
↓ 1 callersMethodapply_loss_scaling
Apply dynamic loss scaling for the given expression.
dnnlib/tflib/optimizer.py:275
↓ 1 callersMethodbefore_odeint
(self, e=None)
module/odefunc.py:111
↓ 1 callersFunctionbuild_cnf
()
module/flow.py:41
↓ 1 callersFunctionbuild_model
( input_dim, hidden_dims, context_dim, num_blocks, conditional)
module/flow.py:40
↓ 1 callersMethodcompute_gradients
(self, loss, var_list, gate_gradients=tf.train.Optimizer.GATE_NONE)
dnnlib/tflib/optimizer.py:304
↓ 1 callersFunctionconvert_path
Convert a normal path to template and the convert it back to a normal path with given path type.
dnnlib/submission/submit.py:144
↓ 1 callersFunctioncount_parameters
(model)
module/flow.py:21
↓ 1 callersFunctioncreate_session
Create tf.Session based on config dict.
dnnlib/tflib/tfutil.py:141
↓ 1 callersFunctionfinalize_autosummaries
Create the necessary ops to include autosummaries in TensorBoard report. Note: This should be done only once per graph.
dnnlib/tflib/autosummary.py:118
↓ 1 callersMethodfinalize_submit_config
(self, submit_config, host_run_dir)
dnnlib/submission/internal/local.py:15
↓ 1 callersMethodforward
(self, x, c=None, logpx=None, reverse=False)
module/normalization.py:40
↓ 1 callersFunctionfunc
(x)
dnnlib/tflib/ops/upfirdn_2d.py:131
↓ 1 callersFunctionfunc_nonzero_2nd_grad
(x, b)
dnnlib/tflib/ops/fused_bias_act.py:176
↓ 1 callersFunctionfunc_zero_2nd_grad
(x, b)
dnnlib/tflib/ops/fused_bias_act.py:162
↓ 1 callersMethodgather_options
(self)
options/base_options.py:27
↓ 1 callersFunctionget_obj_by_name
Finds the python object with the given name.
dnnlib/util.py:245
↓ 1 callersMethodget_output_for
Construct TensorFlow expression(s) for the output(s) of this network, given the input expression(s).
dnnlib/tflib/network.py:199
↓ 1 callersFunctionget_path_or_url
(path_or_gdrive_path)
pretrained_networks.py:57
↓ 1 callersFunctionget_template_from_path
Convert a normal path back to its template representation.
dnnlib/submission/submit.py:138
↓ 1 callersFunctiongrad2_d_x
(d_dx, d_db, x, y)
dnnlib/tflib/ops/fused_bias_act.py:154
↓ 1 callersFunctiongrad_impl
(dy, x)
dnnlib/tflib/ops/fused_bias_act.py:180
↓ 1 callersFunctiongram_matrix
(input_tensor)
utils.py:123
next →1–100 of 329, ranked by callers