MCPcopy Create free account

hub / github.com/SizheAn/PanoHead / functions

Functions563 in github.com/SizheAn/PanoHead

Functionparse_comma_separated_list
(s)
calc_metrics.py:81
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_videos.py:232
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_samples_forID.py:28
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_videos_proj_withseg.py:202
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_samples.py:28
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_videos_proj.py:181
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_videos_interp.py:234
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
calc_mbs.py:36
Functionparse_range
Parse a comma separated list of numbers or ranges and return a list of ints. Example: '1,2,5-10' returns [1, 2, 5, 6, 7]
gen_interpolation.py:30
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
gen_videos.py:250
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
dataset_tool_seg.py:33
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
dataset_tool.py:37
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
gen_videos_proj_withseg.py:220
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
gen_videos_proj.py:199
Functionparse_tuple
Parse a 'M,N' or 'MxN' integer tuple. Example: '4x2' returns (4,2) '0,1' returns (0,1)
gen_videos_interp.py:252
Functionparse_vec2
Parse a floating point 2-vector of syntax 'a,b'. Example: '0,1' returns (0,1)
gen_samples_forID.py:46
Functionparse_vec2
Parse a floating point 2-vector of syntax 'a,b'. Example: '0,1' returns (0,1)
gen_samples.py:46
Methodpop_captured_frame
(self)
gui_utils/glfw_window.py:144
Methodpop_drag_and_drop_paths
(self)
gui_utils/glfw_window.py:149
Functionpopup_button
(label, width=0, enabled=True)
gui_utils/imgui_utils.py:114
Functionpost_hook
(mod, _inputs, outputs)
torch_utils/misc.py:208
Functionppl2_wend
(opts)
metrics/metric_main.py:107
Functionpr50k3
(opts)
metrics/metric_main.py:145
Functionpr50k3_full
(opts)
metrics/metric_main.py:101
Functionpre_hook
(_mod, _inputs)
torch_utils/misc.py:206
Functionprint_module_summary
(module, inputs, max_nesting=3, skip_redundant=True)
torch_utils/misc.py:198
Functionprofiled_function
(fn)
torch_utils/misc.py:102
Functionread_pixels
(width, height, *, pos=0, dtype='uint8', channels=3)
gui_utils/gl_utils.py:116
Functionregister_metric
(fn)
metrics/metric_main.py:31
Functionreport0
r"""Broadcasts the given set of scalars by the first process (`rank = 0`), but ignores any scalars provided by the other processes. See `repor
torch_utils/training_stats.py:105
Functionreport_metric
(result_dict, run_dir=None, snapshot_pkl=None)
metrics/metric_main.py:73
Methodresolution
(self)
training/dataset.py:131
Methodsample
(horizontal_mean, vertical_mean, horizontal_stddev=0, vertical_stddev=0, radius=1, batch_size=1, device='cpu')
camera_utils.py:39
Methodsample
(horizontal_mean, vertical_mean, horizontal_stddev=0, vertical_stddev=0, radius=1, batch_size=1, device='cpu')
camera_utils.py:100
Methodsample
(self, coordinates, directions, z, c, truncation_psi=1, truncation_cutoff=None, update_emas=False, **synthesis
training/triplane.py:141
Functionsample_cross_section
(G, ws, resolution=256, w=1.2)
training/crosssection_utils.py:13
Functionsample_from_3dgrid
Expects coordinates in shape (batch_size, num_points_per_batch, 3) Expects grid in shape (1, channels, H, W, D) (Also works if grid has b
training/volumetric_rendering/renderer.py:60
Functionscale
(width, height, img)
dataset_tool_seg.py:122
Functionscale
(width, height, img)
dataset_tool.py:226
Functionscoped_by_object_id
(method)
gui_utils/imgui_utils.py:82
Methodscroll_callback
(self, window, x_offset, y_offset)
gui_utils/imgui_window.py:102
Functionset_cache_dir
(path: str)
dnnlib/util.py:122
Methodset_content_size
(self, width, height)
gui_utils/glfw_window.py:108
Functionset_default_style
(color_scheme='dark', spacing=9, indent=23, scrollbar=27)
gui_utils/imgui_utils.py:16
Methodset_font_size
(self, target)
gui_utils/imgui_window.py:70
Methodset_fps_limit
(self, fps_limit)
gui_utils/glfw_window.py:126
Methodset_title
(self, title)
gui_utils/glfw_window.py:98
Functionsetup_filter
r"""Convenience function to setup 2D FIR filter for `upfirdn2d()`. Args: f: Torch tensor, numpy array, or python list of the sh
torch_utils/ops/upfirdn2d.py:72
Methodshould_close
(self)
gui_utils/glfw_window.py:129
Methodskip_frame
(self)
gui_utils/glfw_window.py:132
Methodsort_samples
(self, all_depths, all_colors, all_densities)
training/volumetric_rendering/renderer.py:207
Methodspacing
(self)
gui_utils/imgui_window.py:67
Methodtitle_bar_height
(self)
gui_utils/glfw_window.py:80
Functiontorch_dot
Dot product of two tensors.
training/volumetric_rendering/math_utils.py:39
Methodtrainable_gen
()
training/networks_stylegan2.py:590
Functiontraining_loop
( run_dir = '.', # Output directory. training_set_kwargs = {}, # Option
training/training_loop.py:91
Functiontransform_vectors
Left-multiplies MxM @ NxM. Returns NxM.
training/volumetric_rendering/math_utils.py:25
Functiontuple_product
Calculate the product of the tuple elements.
dnnlib/util.py:179
Functionupsample2d
r"""Upsample a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape is a multiple of the input.
torch_utils/ops/upfirdn2d.py:315
Methodwindow_height
(self)
gui_utils/glfw_window.py:66
Methodwindow_width
(self)
gui_utils/glfw_window.py:62
Functionzip_write_bytes
(fname: str, data: Union[bytes, str])
dataset_tool_seg.py:175
Functionzip_write_bytes
(fname: str, data: Union[bytes, str])
dataset_tool.py:299
← previous501–563 of 563, ranked by callers