MCPcopy Create free account

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

Functions685 in github.com/3DAnimals/3DAnimals

↓ 1 callersFunctionbuild_kinematic_chain
(n_bones, start_bone_idx)
model/geometry/skinning.py:25
↓ 1 callersMethodbuild_mips
(self, cutoff=0.99)
model/render/light.py:74
↓ 1 callersMethodclone
(self)
model/render/light.py:63
↓ 1 callersFunctioncolor_distance
(c1, c2)
evaluation/evaluate.py:41
↓ 1 callersFunctioncomposite_buffer
(key, layers, background, antialias)
model/render/render.py:258
↓ 1 callersMethodcompute_keypoints_error
(self, name, keypoints_pred)
evaluation/evaluate.py:389
↓ 1 callersFunctioncompute_pck
(kps_err_all, visible_all, threshold)
evaluation/evaluate.py:234
↓ 1 callersFunctioncompute_tangents
(imesh)
model/render/mesh.py:310
↓ 1 callersMethodcopy_none
(self, other)
model/render/mesh.py:49
↓ 1 callersFunctioncopy_results
Copy all files from src_dir to dst_dir that match any of the given suffixes
model/utils/misc.py:343
↓ 1 callersFunctioncrop_keypoints
(kp, name, data_dir, box_postfix)
evaluation/evaluate.py:174
↓ 1 callersFunctioncrop_keypoints_with_box
(kp, box)
evaluation/evaluate.py:192
↓ 1 callersFunctioncube_to_dir
(s, x, y)
model/render/util.py:96
↓ 1 callersFunctiondencode_feat_from_img
(img, n_channels)
model/dataset/util.py:63
↓ 1 callersFunctiondisable_keypoint_loss
(w2c, b)
model/models/AnimalModel.py:817
↓ 1 callersMethoddiscriminator_step
(self)
model/models/Fauna.py:214
↓ 1 callersMethoddislocation_smooth
(self, inputs)
model/utils/smooth_loss.py:31
↓ 1 callersFunctiondot
model/render/renderutils/c_src/vec3f.h:63
↓ 1 callersFunctiondownload_file
(url, filename)
evaluation/evaluate.py:16
↓ 1 callersFunctiondownload_pascal_annotations
(acsm_annotations_root)
evaluation/evaluate.py:134
↓ 1 callersFunctiondraw_keypoints
(image_t, keypoint, gt_flag, circle_color=(0, 0, 255), text_color=(0, 255, 255), radius=3)
model/models/AnimalModel.py:826
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0., training: bool = False)
model/networks/ArticulationNetwork.py:117
↓ 1 callersMethodencode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
model/networks/MotionVAE.py:154
↓ 1 callersFunctionfind_cl_path
()
model/render/renderutils/ops.py:31
↓ 1 callersMethodforward
(self, feat)
visualization/visualize_results_fauna.py:69
↓ 1 callersMethodforward
(self, x, feat=None)
model/networks/MLPs.py:73
↓ 1 callersMethodforward
(self, x, feat=None)
model/networks/MLPs.py:144
↓ 1 callersMethodforward
(self, feat)
model/render/light.py:178
↓ 1 callersMethodforward_articulation
(self, shape, feat, patch_feat, mvp, w2c, batch_size, num_frames, epoch, total_iter, **kwargs)
model/predictors/InstancePredictorBase.py:513
↓ 1 callersMethodforward_deformation
(self, shape, feat=None, **kwargs)
model/predictors/InstancePredictorBase.py:306
↓ 1 callersMethodforward_deformation
(self, shape, feat=None, batch_size=None, num_frames=None)
model/predictors/InstancePredictorMotionVAE.py:45
↓ 1 callersMethodforward_finetune_arti
(self, batch, epoch, logger=None, total_iter=None, save_results=False, save_dir=None, logger_prefix='', is_tra
model/models/Fauna4D.py:500
↓ 1 callersMethodforward_finetune_texture
(self, batch, epoch, logger=None, total_iter=None, save_results=False, save_dir=None, logger_prefix='', is_tra
model/models/Fauna4D.py:517
↓ 1 callersMethodgenerate_articulation
(self, shape, mvp, w2c, num_sequence, num_frames, epoch, total_iter)
model/predictors/InstancePredictorMotionVAE.py:137
↓ 1 callersMethodgenerate_edges
(self)
model/geometry/dmtet.py:283
↓ 1 callersFunctiongenerate_new_color
(existing_colors, pastel_factor=0.5)
evaluation/evaluate.py:45
↓ 1 callersMethodgetRes
(self)
model/render/texture.py:78
↓ 1 callersFunctionget_all_sequence_dirs
(data_dir, image_suffix="rgb.png", sorted=False)
model/utils/misc.py:329
↓ 1 callersMethodget_bones
Get estimated bones from prior shape and corresponding bone feature and encoding
model/predictors/InstancePredictorFauna.py:79
↓ 1 callersMethodget_bones_from_articulation
Get estimated bones from prior shape and corresponding bone feature and encoding
model/predictors/InstancePredictorBase.py:384
↓ 1 callersMethodget_data_dict
(self)
model/utils/meters.py:94
↓ 1 callersMethodget_default_pose
(self)
model/models/Ponymation.py:28
↓ 1 callersFunctionget_eval_aux
Save all vertices in clip space project to screen, with visibility mask (..., 4) KT evaluation will map source gt keypoint to the nearest vis
model/models/Fauna4D.py:728
↓ 1 callersFunctionget_keypoint_coordinates
Input posed bones in world space and mvp matrix, output keypoint coordinates in clip space head -> tail -> LF -> RF -> LR -> RR Following
model/models/Fauna4D.py:699
↓ 1 callersMethodget_m_to_n
Create new Mesh class with the n-th (included) mesh to the m-th (not included) mesh in the batch. Args: m: the index of
model/render/mesh.py:124
↓ 1 callersMethodget_mip
(self, roughness)
model/render/light.py:69
↓ 1 callersMethodget_n
Create new Mesh class with only the n-th meshes in the batch. Args: n: the index of the mesh to be contained. R
model/render/mesh.py:159
↓ 1 callersFunctionget_n_colors
(n, pastel_factor=0.9)
evaluation/evaluate.py:59
↓ 1 callersMethodget_optimizer_state
(self)
model/models/Fauna.py:66
↓ 1 callersFunctionget_random_color
(pastel_factor=0.5, seed=None)
evaluation/evaluate.py:31
↓ 1 callersMethodget_sdf_gradient
(self, feats=None)
model/geometry/dmtet.py:256
↓ 1 callersFunctionhorizontal_flip_box_new
(box)
model/dataset/FaunaDataset.py:35
↓ 1 callersFunctionimage_loss_fn
(img, target, loss, tonemapper)
model/render/renderutils/loss.py:29
↓ 1 callersMethodinference
(self, batch, total_iter, epoch, local_save_dir=None, is_training=False, image_suffix=None, **kwargs)
model/models/Fauna4D.py:523
↓ 1 callersFunctioninit_glfw
()
model/render/util.py:362
↓ 1 callersFunctionlength
(x: torch.Tensor, eps: float =1e-20)
model/render/util.py:28
↓ 1 callersMethodload_box
(self, name)
evaluation/evaluate.py:353
↓ 1 callersMethodload_box
(self, name)
evaluation/evaluate.py:380
↓ 1 callersFunctionload_image_raw
(fn)
model/render/util.py:439
↓ 1 callersMethodload_keypoints
(self, name)
evaluation/evaluate.py:377
↓ 1 callersMethodload_keypoints
(self, name)
evaluation/evaluate.py:429
↓ 1 callersMethodload_optimizer_state
(self, cp)
model/models/Fauna.py:57
↓ 1 callersFunctionload_pascal_annotations
(pascal_annotations_path)
evaluation/evaluate.py:155
↓ 1 callersMethodlog_visuals
(self, log, logger, **kwargs)
model/models/Fauna.py:510
↓ 1 callersMethodlog_visuals
(self, log, logger, sdf_feats=None, text=None)
model/models/AnimalModel.py:518
↓ 1 callersMethodlog_visuals
(self, log, logger)
model/models/Fauna4D.py:300
↓ 1 callersFunctionmain
(cfg: DictConfig)
run.py:8
↓ 1 callersFunctionmain
(cfg: DictConfig)
run_4d_reconstruction.py:88
↓ 1 callersFunctionmain
(cfg)
visualization/visualize_results.py:91
↓ 1 callersFunctionmain
(cfg)
visualization/visualize_results_fauna.py:92
↓ 1 callersFunctionmain
()
evaluation/evaluate.py:475
↓ 1 callersMethodmap_uv
(self, faces, face_gidx, max_idx)
model/geometry/dmtet.py:69
↓ 1 callersFunctionmask_diff
Return difference of two masks, where pixels are 1 if different, 0 if same
model/utils/misc.py:407
↓ 1 callersMethodmedian_smooth
(self, inputs)
model/utils/smooth_loss.py:45
↓ 1 callersMethodmid_frame_smooth
(self, inputs)
model/utils/smooth_loss.py:22
↓ 1 callersFunctionndfGGX
(alphaSqr, costheta)
model/render/renderutils/ops.py:429
↓ 1 callersFunctionperspective
(fovy, aspect=1.0, n=0.1, f=1000.0, device=None)
model/models/Fauna4D.py:674
↓ 1 callersFunctionpil_loader
(path: str)
visualization/visualize_results.py:28
↓ 1 callersFunctionpil_loader
(path: str)
visualization/visualize_results_fauna.py:29
↓ 1 callersFunctionplot_metrics
Plot metrics. `stats` should be a dictionary of type stats[dataset][t][metric][i] where dataset is the dataset name (e.g. `train` or `
model/utils/meters.py:132
↓ 1 callersFunctionprepare_input_vector
(x)
model/render/render.py:254
↓ 1 callersFunctionprocess_single_sequence
(method, data_dir, cfg, local_dir, use_logger=False)
run_4d_reconstruction.py:101
↓ 1 callersFunctionread_feat_from_img
(path, n_channels)
model/dataset/util.py:58
↓ 1 callersFunctionrender_layer
( rast, rast_deriv, mesh, w2c, view_pos, material, lgt
model/render/render.py:139
↓ 1 callersFunctionrender_uv
(ctx, mesh, resolution, mlp_texture, feat=None)
model/render/render.py:342
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
model/networks/MotionVAE.py:172
↓ 1 callersMethodreset
(self)
model/utils/meters.py:33
↓ 1 callersMethodreset
(self)
model/utils/meters.py:53
↓ 1 callersMethodreset_parameters
(self)
model/networks/MLPs.py:224
↓ 1 callersMethodrun_train_epoch
(self, epoch)
model/Trainer.py:232
↓ 1 callersMethodsample_pair
(self)
evaluation/evaluate.py:424
↓ 1 callersMethodsave_checkpoint
Save model, optimizer, and metrics state to a checkpoint in checkpoint_dir for the specified iteration.
model/Trainer.py:108
↓ 1 callersFunctionsave_obj
(out_fold, meshes=None, save_material=True, feat=None, prefix='', suffix='', fnames=None, resolution=[256, 256
model/utils/misc.py:175
↓ 1 callersFunctionscale_img_nhwc
(x : torch.Tensor, size, mag='bilinear', min='area')
model/render/util.py:142
↓ 1 callersMethodscheduler_step
(self)
model/models/AnimalModel.py:212
↓ 1 callersFunctionsdf_bce_reg_loss
(sdf, all_edges)
model/geometry/dmtet.py:161
↓ 1 callersMethodset_eval
(self)
model/models/Fauna4D.py:31
↓ 1 callersMethodset_finetune_arti
(self)
model/models/Fauna4D.py:415
↓ 1 callersMethodset_finetune_texture
(self)
model/models/Fauna4D.py:434
↓ 1 callersMethodset_inference
(self)
model/models/Fauna4D.py:442
← previousnext →201–300 of 685, ranked by callers