MCPcopy Create free account

hub / github.com/RameenAbdal/StyleFlow / functions

Functions329 in github.com/RameenAbdal/StyleFlow

Functioncall_func_by_name
Finds the python object with the given name and calls it as a function.
dnnlib/util.py:251
Functionconv_downsample_2d
r"""Fused `tf.nn.conv2d()` followed by `downsample_2d()`. Padding is performed only once at the beginning, not between the operations. The fu
dnnlib/tflib/ops/upfirdn_2d.py:296
Methodconvert
Create new network with the given parameters, and copy all variables from this network.
dnnlib/tflib/network.py:331
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:230
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:240
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:312
Methodcopy_own_vars_from
Copy the values of all variables from the given network, excluding sub-networks.
dnnlib/tflib/network.py:316
Methodcopy_trainables_from
Copy the values of all trainable variables from the given network, including sub-networks.
dnnlib/tflib/network.py:326
Functioncount_nfe
(model)
module/flow.py:6
Functioncount_total_time
(model)
module/flow.py:25
Functioncreate_var_with_large_initial_value
Create tf.Variable with large initial value without bloating the tf graph.
dnnlib/tflib/tfutil.py:220
Functiondivergence_approx
(f, y, e=None)
module/odefunc.py:9
Functiondownsample_2d
r"""Downsample a batch of 2D images with the given filter. Accepts a batch of 2D images of the shape `[N, C, H, W]` or `[N, H, W, C]` and dow
dnnlib/tflib/ops/upfirdn_2d.py:202
Functionexp2
Exponent in base 2.
dnnlib/tflib/tfutil.py:56
Functionfilter_2d
r"""Filter a batch of 2D images with the given FIR filter. Accepts a batch of 2D images of the shape `[N, C, H, W]` or `[N, H, W, C]` and fil
dnnlib/tflib/ops/upfirdn_2d.py:144
Functionflatten
Shortcut function for flattening a tensor.
dnnlib/tflib/tfutil.py:44
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
dnnlib/util.py:111
Methodforward
(self, x)
module/odefunc.py:35
Methodforward
(self, x)
module/odefunc.py:44
Methodforward
(self, context, y)
module/odefunc.py:94
Methodforward
(self, t, states)
module/odefunc.py:115
Methodforward
(self, context, x)
module/diffeq_layers.py:18
Methodforward
(self, context, x, c)
module/diffeq_layers.py:27
Methodforward
(self, context, x)
module/diffeq_layers.py:40
Methodforward
(self, context, x)
module/diffeq_layers.py:53
Methodforward
(self, context, x)
module/diffeq_layers.py:66
Methodforward
(self, context, x)
module/diffeq_layers.py:80
Methodforward
(self, context, x)
module/diffeq_layers.py:97
Methodforward
(self, x, context=None, logpx=None, integration_times=None, reverse=False)
module/normalization.py:143
Methodforward
(self, x, context, logpx=None, reverse=False, inds=None, integration_times=None)
module/cnf.py:16
Methodforward
(self, x, context=None, logpx=None, integration_times=None, reverse=False)
module/cnf.py:57
Functionfused_bias_act
r"""Fused bias and activation function. Adds bias `b` to activation tensor `x`, evaluates activation function `act`, and scales the result by
dnnlib/tflib/ops/fused_bias_act.py:34
Functiongaussian_log_likelihood
(x, mean, logvar, clip=True)
module/utils.py:37
Functiongenerate_im_from_random_seed
(Gs, seed=22, truncation_psi=0.5)
utils.py:168
Methodgenerate_im_from_random_seed
(self, seed=22, truncation_psi=0.5)
utils.py:212
Methodgenerate_im_from_z_space
(self, z, truncation_psi=0.5)
utils.py:233
Functiongenerate_im_official
(network_pkl='gdrive:networks/stylegan2-ffhq-config-f.pkl', seeds=[22], truncation_psi=0.5)
utils.py:145
Functiongenerate_images
(network_pkl, seeds, truncation_psi)
run_generator.py:19
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:159
Methodget_last_update_interval
How much time passed between the previous two calls to update.
dnnlib/submission/run_context.py:86
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
dnnlib/util.py:259
Functionget_plugin
(cuda_file)
dnnlib/tflib/custom_ops.py:89
Functionget_style_loss
Expects two images of dimension h, w, c
utils.py:131
Methodget_time_since_last_update
How much time has passed since the last call to update.
dnnlib/submission/run_context.py:82
Methodget_time_since_start
How much time has passed since the creation of the context.
dnnlib/submission/run_context.py:78
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)
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
Methodinitialize
(self, parser)
options/train_options.py:5
Methodinitialize
(self, parser)
options/test_options.py:5
Functionis_pickleable
(obj: Any)
dnnlib/util.py:182
Functionkl_diagnormal_diagnormal
(q_mean, q_logvar, p_mean, p_logvar)
module/utils.py:60
Functionkl_diagnormal_stdnormal
(mean, logvar)
module/utils.py:52
Functionlerp
Linear interpolation.
dnnlib/tflib/tfutil.py:62
Functionlerp_clip
Linear interpolation with clip.
dnnlib/tflib/tfutil.py:68
Functionlight_transfer_real_to_slide
(name, real_value)
ui/ui2.py:69
Functionlight_transfer_real_to_slide
(name, real_value)
ui/ui.py:66
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_networks
(path_or_gdrive_path)
pretrained_networks.py:64
Methodlock_switch
(self)
main_attribute.py:386
Methodlock_switch
(self)
main.py:344
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
MethodmouseMoveEvent
(self, event)
ui/mouse_event2.py:77
MethodmouseMoveEvent
(self, event)
ui/mouse_event.py:57
MethodmousePressEvent
(self, event)
ui/mouse_event2.py:40
MethodmousePressEvent
(self, event)
ui/mouse_event.py:36
MethodmouseReleaseEvent
(self, event)
ui/mouse_event2.py:69
MethodmouseReleaseEvent
(self, event)
ui/mouse_event.py:51
Functionopen_url
Download the given URL and return a binary-mode file object to access the data.
dnnlib/util.py:346
Methodprint_layers
Print a summary table of the network structure.
dnnlib/tflib/network.py:506
Methodreal_time_editing
(self, attr_index, raw_slide_value)
main_attribute.py:305
Methodreal_time_editing_thread
(self, attr_index, raw_slide_value)
main_attribute.py:271
Methodreal_time_editing_thread
(self, attr_index, raw_slide_value)
main.py:214
Methodreal_time_light_thread
(self, light_index, raw_slide_value)
main_attribute.py:274
Methodreal_time_light_thread
(self, light_index, raw_slide_value)
main.py:217
Methodreal_time_lighting
(self, light_index, raw_slide_value)
main_attribute.py:278
Methodrecurse
(scope, parent_ops, parent_vars, level)
dnnlib/tflib/network.py:468
Methodregister_gradients
Register the gradients of the given loss function with respect to the given variables. Intended to be called once per GPU.
dnnlib/tflib/optimizer.py:114
Methodrender
(self, light_index, raw_slide_value, sess)
ui/real_time_light_thread.py:23
Methodreset
(self)
module/utils.py:24
Methodreset
(self)
ui/mouse_event2.py:30
Methodreset
(self)
ui/mouse_event.py:26
Methodreset_Wspace
(self)
main_attribute.py:359
Methodreset_Wspace
(self)
main.py:305
Methodreset_items
(self)
ui/mouse_event2.py:33
Methodreset_items
(self)
ui/mouse_event.py:29
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
Functionresume
(path, model, optimizer=None, strict=True)
module/utils.py:325
Methodrun
(self)
ui/real_time_light_thread.py:30
Methodrun
(self)
ui/real_time_attr_thread.py:30
Functionsave
(model, optimizer, epoch, path)
module/utils.py:316
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
← previousnext →201–300 of 329, ranked by callers