MCPcopy Create free account

hub / github.com/3DAnimals/3DAnimals / functions

Functions685 in github.com/3DAnimals/3DAnimals

Functionoperator*
model/render/renderutils/c_src/vec3f.h:34
Functionoperator+
model/render/renderutils/c_src/vec3f.h:32
Functionoperator-
model/render/renderutils/c_src/vec3f.h:33
Functionoperator/
model/render/renderutils/c_src/vec3f.h:35
Functionpbr_bsdf
Physically-based bsdf, both diffuse & specular lobes All tensors assume a shape of [minibatch_size, height, width, 3] or broadcastable equivalent
model/render/renderutils/ops.py:355
Functionpbr_bsdf_bwd
model/render/renderutils/c_src/torch_bindings.cpp:707
Functionpbr_bsdf_fwd
model/render/renderutils/c_src/torch_bindings.cpp:666
Functionpbr_specular
Physically-based specular bsdf. All tensors assume a shape of [minibatch_size, height, width, 3] or broadcastable equivalent unless otherwise note
model/render/renderutils/ops.py:315
Functionpbr_specular_bwd
model/render/renderutils/c_src/torch_bindings.cpp:635
Functionpbr_specular_fwd
model/render/renderutils/c_src/torch_bindings.cpp:597
Functionperspective
(fovy=0.7854, aspect=1.0, n=0.1, f=1000.0, device=None)
model/render/util.py:189
Functionperspective_offcenter
(fovy, fraction, rx, ry, aspect=1.0, n=0.1, f=1000.0, device=None)
model/render/util.py:197
Functionprepare_shading_normal
Takes care of all corner cases and produces a final normal used for shading: - Constructs tangent space - Flips normal direction based
model/render/renderutils/ops.py:194
Functionprepare_shading_normal_bwd
model/render/renderutils/c_src/torch_bindings.cpp:203
Functionprepare_shading_normal_fwd
model/render/renderutils/c_src/torch_bindings.cpp:161
Functionpsnr_to_mse
Compute MSE given a PSNR (we assume the maximum pixel value is 1).
model/render/util.py:73
Functionrandom_rotation
(device=None)
model/render/util.py:275
Functionrandom_rotation_translation
(t, device=None)
model/render/util.py:264
Functionreflect
(x: torch.Tensor, n: torch.Tensor)
model/render/util.py:25
Functionreflect
model/render/renderutils/c_src/vec3f.h:74
Methodregularizer
(self)
model/render/light.py:86
Functionreinhard
(f: torch.Tensor)
model/render/util.py:59
Functionrender_mesh
( ctx, mesh, mtx_in, w2c, view_pos, material, lgt,
model/render/render.py:228
Methodreset_optimizers
(self)
model/models/AnimalModel.py:181
Functionrgb_to_srgb
(texture)
model/render/texture.py:144
Functionrgb_to_srgb
(f: torch.Tensor)
model/render/util.py:44
Methodrotate_pose
(mvp, campos)
model/models/AnimalModel.py:688
Functionrotate_x
(a, device=None)
model/render/util.py:227
Functionrotate_y
(a, device=None)
model/render/util.py:234
FunctionsafeNormalize
model/render/renderutils/c_src/vec3f.h:90
Methodsample
(self, x, feat=None)
model/networks/MLPs.py:168
Methodsample
Samples from the latent space and return the corresponding image space map. :param sequence_num: (Int) Number of sequence
model/networks/MotionVAE.py:195
Functionsample_farthest_points
(pts, k, return_index=False)
model/geometry/util.py:5
Methodsample_pair
(self)
evaluation/evaluate.py:374
Methodsample_pose_hypothesis_from_quad_predictions
( poses_raw, total_iter, rot_temp_scalar=1., num_hypos=4, naive_probs_iter=2000, best_pose_start_iter=
model/predictors/InstancePredictorFauna.py:37
Methodsave_clean_checkpoint
Save model state only to specified path.
model/Trainer.py:125
Functionsave_env_map
(fn, light)
model/render/light.py:150
Functionsave_image_raw
(fn, x : np.ndarray)
model/render/util.py:432
Functionsave_mtl
(fn, material, mesh=None, feat=None, resolution=[256, 256])
model/render/material.py:106
Functionsave_scores
(out_path, scores, header='')
model/utils/misc.py:213
Functionsave_texture2D
(fn, tex, lambda_fn=None)
model/render/texture.py:181
Functionsave_videos
(out_fold, imgs, prefix='', suffix='', fnames=None, ext='.mp4', cycle=False)
model/utils/misc.py:106
Functionscale
(s, device=None)
model/render/util.py:241
Functionscale_img_hwc
(x : torch.Tensor, size, mag='bilinear', min='area')
model/render/util.py:139
Functionsegment_sum
(data: torch.Tensor, segment_ids: torch.Tensor)
model/render/util.py:163
Methodset_eval
(self)
model/models/AnimalModel.py:177
Methodset_eval
(self)
model/models/Ponymation.py:39
Methodset_random_xflip
(self, random_xflip)
model/dataset/ImageDataset.py:70
Functionset_requires_grad
(nets, requires_grad=False)
model/utils/misc.py:97
Methodset_train
(self)
model/models/AnimalModel.py:169
Methodset_train
(self)
model/models/Ponymation.py:45
Methodshade
(self, feat, kd, normal)
visualization/visualize_results.py:75
Methodshade
(self, feat, kd, normal)
visualization/visualize_results_fauna.py:76
Methodshade
(self, feat, kd, normal)
model/render/light.py:186
Functionsmall_scale_box_loader
(fpath)
model/dataset/FaunaDataset.py:29
Methodsoftplus_with_init
(x, init=0.5)
model/predictors/InstancePredictorBase.py:283
Methodsoftplus_with_init
(x, init=0.5)
model/predictors/InstancePredictorFauna4D.py:76
Functionspecular_bounds
model/render/renderutils/c_src/torch_bindings.cpp:799
Functionspecular_cubemap
(cubemap, roughness, cutoff=0.99, use_python=False)
model/render/renderutils/ops.py:446
Functionspecular_cubemap_bwd
model/render/renderutils/c_src/torch_bindings.cpp:859
Functionspecular_cubemap_fwd
model/render/renderutils/c_src/torch_bindings.cpp:826
Functionsrgb_to_rgb
(texture)
model/render/texture.py:141
Functionsrgb_to_rgb
(f: torch.Tensor)
model/render/util.py:53
Methodstore
model/render/renderutils/c_src/tensor.h:39
Methodstore_grad
model/render/renderutils/c_src/tensor.h:40
Functiontex_2d
(tex_map : torch.Tensor, coords : torch.Tensor, filter='nearest')
model/render/util.py:85
Functiontime_to_text
(x)
model/render/util.py:451
Functionto_float
(x)
model/utils/misc.py:363
Functionto_float
(x)
model/models/AnimalModel.py:763
Functionto_hvec
(x: torch.Tensor, w: float)
model/render/util.py:34
Functiontranslate
(x, y, z, device=None)
model/render/util.py:221
Functionunit_size
(mesh)
model/render/mesh.py:255
Methodunwatch
(self, models)
model/utils/wandb_writer.py:28
Methodupdate
(self, value, mass=1)
model/utils/meters.py:18
Methodupdate
(self, value, mass=1)
model/utils/meters.py:37
Methodupdate
(self, metric_dict, mass=1)
model/utils/meters.py:104
Methodupdate_metric
(self, name, keypoints_pred, source_visible)
evaluation/evaluate.py:383
Methodvec3f
model/render/renderutils/c_src/vec3f.h:19
Methodvec4f
model/render/renderutils/c_src/vec4f.h:19
Functionvideo_grid
(tensor, nrow=None)
model/utils/misc.py:228
Methodwatch
(self, models, log_freq, log="all", log_graph=False)
model/utils/wandb_writer.py:25
Methodxfm
(self, mtx)
model/render/light.py:60
Functionxfm_bwd
model/render/renderutils/c_src/torch_bindings.cpp:1006
Functionxfm_fwd
model/render/renderutils/c_src/torch_bindings.cpp:971
Functionxfm_vectors
Transform vectors. Args: vectors: Tensor containing 3D vectors with shape [minibatch_size, num_vertices, 3] or [1, num_vertices, 3]
model/render/renderutils/ops.py:533
← previous601–685 of 685, ranked by callers