Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuPaoPao/RhythmGuassian
/ functions
Functions
67 in github.com/LuPaoPao/RhythmGuassian
⨍
Functions
67
◇
Types & classes
10
↓ 18 callers
Method
write
(self, message, is_terminal=1, is_file=1)
models/utils.py:42
↓ 6 callers
Method
open
(self, file, mode=None)
models/utils.py:38
↓ 6 callers
Function
time_to_str
(t, mode='min')
models/utils.py:19
↓ 2 callers
Method
__init__
(self, in_channels, output_channels)
models/model.py:51
↓ 2 callers
Method
flush
(self)
models/utils.py:52
↓ 2 callers
Function
focal2fov
(focal, pixels)
models/graphics_utils.py:78
↓ 2 callers
Method
getLabel
(self, nowPath, Step_Index)
datasets/MyDataset.py:43
↓ 2 callers
Function
prepare_paths
Prepare file paths and related variables for given domain names.
train.py:39
↓ 2 callers
Function
prepare_paths
Prepare file paths and related variables for given domain names.
datasets/MMPD.py:39
↓ 2 callers
Function
prepare_paths
Prepare file paths and related variables for given domain names.
datasets/MR.py:39
↓ 2 callers
Function
prepare_paths
Prepare file paths and related variables for given domain names.
datasets/UCLA.py:39
↓ 2 callers
Function
prepare_paths
Prepare file paths and related variables for given domain names.
datasets/Phys.py:39
↓ 2 callers
Function
prepare_paths
Prepare file paths and related variables for given domain names.
datasets/VV100.py:39
↓ 2 callers
Method
render
Rasterize Gaussians into images. Args: gaussians: ``(B, N, 14)`` packed primitives — ``[xyz(3), opacity(1), scale
models/gs.py:29
↓ 1 callers
Function
MyEval
(HR_pr, HR_rel)
datasets/Eval.py:10
↓ 1 callers
Method
__init__
(self)
models/MyLoss.py:25
↓ 1 callers
Method
depth2xyz
Lift a per-pixel depth map to world-space xyz. Args: Depth: ``(N, H, W)`` per-pixel depth values. intrinsics: ``(
models/model.py:165
↓ 1 callers
Method
forward_gaussians
Split decoder output into Gaussian primitives and motion flow. Input ``x``: ``(B, 22, H=spatial_size, W=time_length)``. 22 channel
models/model.py:197
↓ 1 callers
Function
getProjectionMatrix
(znear, zfar, fovX, fovY)
models/graphics_utils.py:53
↓ 1 callers
Function
getWorld2View2
(R, t, translate=np.array([.0, .0, .0]), scale=1.0)
models/graphics_utils.py:39
↓ 1 callers
Function
load_datasets
Load datasets based on the prepared paths.
train.py:57
↓ 1 callers
Function
load_datasets
Load datasets based on the prepared paths.
datasets/MMPD.py:57
↓ 1 callers
Function
load_datasets
Load datasets based on the prepared paths.
datasets/MR.py:57
↓ 1 callers
Function
load_datasets
Load datasets based on the prepared paths.
datasets/UCLA.py:57
↓ 1 callers
Function
load_datasets
Load datasets based on the prepared paths.
datasets/Phys.py:57
↓ 1 callers
Function
load_datasets
Load datasets based on the prepared paths.
datasets/VV100.py:57
↓ 1 callers
Function
main
()
train.py:99
↓ 1 callers
Function
main
()
datasets/MMPD.py:82
↓ 1 callers
Function
main
()
datasets/MR.py:82
↓ 1 callers
Function
main
()
datasets/UCLA.py:82
↓ 1 callers
Function
main
()
datasets/Phys.py:82
↓ 1 callers
Function
main
()
datasets/VV100.py:82
↓ 1 callers
Function
save_images
Save a batch of rendered images to ``output_dir`` as PNGs.
train.py:74
Function
CrossValidation
(root_dir, fold_num=5,fold_index=0)
datasets/MyDataset.py:203
Function
Drop_HR
(whole_max_idx, delNum=4)
models/utils.py:11
Function
M_loss
Negative-Pearson between motion-flow modulus and ``v_n`` modulus over time. motion_flow: ``(B, N, T, 5)`` containing ``[Δh, Δw, Δs(3)]``. v_n
models/MyLoss.py:161
Function
MyEval
(HR_pr, HR_rel)
models/utils.py:133
Method
__getitem__
(self, idx)
datasets/MyDataset.py:126
Method
__init__
(self, root_dir, dataName, STMap, frames_num, args, transform = None)
datasets/MyDataset.py:18
Method
__init__
(self)
models/utils.py:34
Method
__init__
(self)
models/gs.py:22
Method
__init__
(self, device, clip_length=256, delta=3, loss_type=1, use_wave=False)
models/MyLoss.py:47
Method
__init__
(self, in_channels, out_channels, stride=2, downsample=False, residual=False)
models/model.py:15
Method
__init__
(self, output_channels=22)
models/model.py:80
Method
__len__
(self)
datasets/MyDataset.py:40
Function
apply_rotation
Applies a rotation to a quaternion. Parameters: q1 (Tensor): The original quaternion. q2 (Tensor): The rotation quaternion
models/graphics_utils.py:123
Function
batch_quaternion_multiply
Multiply batches of quaternions. Args: - q1 (torch.Tensor): A tensor of shape [N, 4] representing the first batch of quaternions
models/graphics_utils.py:153
Method
forward
(self, gt_lable, pre_lable)
models/MyLoss.py:28
Method
forward
(self, wave, gt, pred=None, flag=None)
models/MyLoss.py:81
Method
forward
(self, v_d, K=4)
models/MyLoss.py:149
Method
forward
(self, x)
models/model.py:36
Method
forward
(self, x)
models/model.py:75
Method
forward
(self, x)
models/model.py:256
Function
fov2focal
(fov, pixels)
models/graphics_utils.py:75
Function
geom_transform_points
(points, transf_matrix)
models/graphics_utils.py:23
Function
getIndex
(root_path, filesList, save_path, Pic_path, Step, frames_num)
datasets/MyDataset.py:213
Function
getWorld2View
(R, t)
models/graphics_utils.py:32
Function
get_args
()
models/utils.py:58
Function
get_loss
Per-dataset weighted physiological loss ``L_physio``. Different rPPG datasets provide different label quality (only HR vs HR+BVP), so the wei
models/MyLoss.py:180
Function
get_rays
Args: x: the horizontal coordinates of the pixels, shape: (num_rays,) y: the vertical coordinates of the pixels, shape: (num_r
models/graphics_utils.py:82
Function
iterate_data_loaders
Reset and get iterators for data loaders if needed.
train.py:90
Function
iterate_data_loaders
Reset and get iterators for data loaders if needed.
datasets/MMPD.py:73
Function
iterate_data_loaders
Reset and get iterators for data loaders if needed.
datasets/MR.py:73
Function
iterate_data_loaders
Reset and get iterators for data loaders if needed.
datasets/UCLA.py:73
Function
iterate_data_loaders
Reset and get iterators for data loaders if needed.
datasets/Phys.py:73
Function
iterate_data_loaders
Reset and get iterators for data loaders if needed.
datasets/VV100.py:73
Function
param_size
Compute parameter size in MB
models/utils.py:154