Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/csuhan/OneLLM
/ functions
Functions
248 in github.com/csuhan/OneLLM
⨍
Functions
248
◇
Types & classes
55
↳
Endpoints
1
Method
forward
:param xyz: (B, N, 3) tensor of the xyz coordinates of the features :param features: (B, N, C) tensor of the descriptors of the the f
model/lib/pointnet2/pointnet2_modules.py:19
Method
forward
:param unknown: (B, n, 3) tensor of the xyz positions of the unknown features :param known: (B, m, 3) tensor of the xyz positions of
model/lib/pointnet2/pointnet2_modules.py:127
Method
forward
(self, x: torch.Tensor, start_pos: int, freqs_cis: torch.Tensor, mask: Optional[torch.Tensor], prompt=None)
model/LLM/onellm.py:112
Method
forward
(self, x)
model/LLM/onellm.py:176
Method
forward
(self, x: torch.Tensor, start_pos: int, freqs_cis: torch.Tensor, mask: Optional[torch.Tensor], prompt=None)
model/LLM/onellm.py:200
Method
forward
(self, examples, image=None, modal='image')
model/LLM/onellm.py:421
Method
forward
(self, imgs)
data/data_utils.py:30
Method
forward
(self, tensors)
data/data_utils.py:41
Method
forward
Args: videos: A list of C, T, H, W videos. Returns: videos: A list with 3x the number of elements. Each video
data/video_utils.py:123
Function
furthest_point_sampling_wrapper
model/lib/pointnet2/src/sampling.cpp:35
Function
gather_points_grad_wrapper_fast
model/lib/pointnet2/src/sampling.cpp:22
Function
gather_points_wrapper_fast
model/lib/pointnet2/src/sampling.cpp:10
Function
get_2d_sincos_pos_embed
grid_size: int of the grid height and width return: pos_embed: [grid_size*grid_size, embed_dim] or [1+grid_size*grid_size, embed_dim] (w/
util/pos_embed.py:19
Method
get_image_words
(self)
model/meta.py:174
Function
get_signal_frames
Given a signal track return the frames between video_start_sec and video_end_sec
data/imu_utils.py:83
Method
global_avg
(self)
util/misc.py:81
Function
group_points_grad_wrapper_fast
model/lib/pointnet2/src/group_points.cpp:11
Function
group_points_wrapper_fast
model/lib/pointnet2/src/group_points.cpp:24
Function
index_narrations
(ann_path)
data/imu_utils.py:33
Function
init_distributed_mode
(args)
util/misc.py:230
Function
init_distributed_mode1
(args)
util/misc.py:275
Function
interpolate_pos_embed
(model, checkpoint_model)
util/pos_embed.py:74
Function
interpolate_pos_embed_online
( pos_embed, orig_size, new_size, num_extra_tokens: int )
util/pos_embed.py:98
Method
load_audio
(self, data)
data/finetune_dataset.py:209
Method
load_fmri
(self, data)
data/finetune_dataset.py:239
Method
load_image
(self, data)
data/finetune_dataset.py:203
Method
load_imu
(self, data_dict)
data/finetune_dataset.py:246
Function
load_model
(args, model, optimizer, loss_scaler)
util/misc.py:408
Method
load_point
(self, data)
data/finetune_dataset.py:221
Method
load_rgbx
(self, data)
data/finetune_dataset.py:227
Method
load_rgbx_from_ceph
(self, image_path)
data/pretrain_dataset.py:182
Method
load_trans_image
(self, image_path)
data/pretrain_dataset.py:128
Method
load_video
(self, video_path)
data/pretrain_dataset.py:148
Method
load_video
(self, data)
data/finetune_dataset.py:215
Method
median
(self)
util/misc.py:71
Function
model_worker
The worker function that manipulates the GPU to run the inference. Exact n_gpu workers are started, with each one operating on a separate GPU
demos/multi_turn_mm.py:43
Function
opt_n_threads
model/lib/pointnet2/src/cuda_utils.h:10
Function
save_model
(output_dir, args, epoch, iteration, model, optimizer, loss_scaler, dataset_state)
util/misc.py:358
Function
save_on_master
(*args, **kwargs)
util/misc.py:226
Function
show_user_input
(msg, chatbot)
demos/multi_turn_mm.py:162
Function
stream_model_output
(img_path, audio_path, video_path, chatbot, max_gen_len, gen_t, top_p, modality)
demos/multi_turn_mm.py:165
Method
synchronize_between_processes
Warning: does not synchronize the deque!
util/misc.py:57
Function
three_interpolate_grad_wrapper_fast
model/lib/pointnet2/src/interpolate.cpp:40
Function
three_interpolate_wrapper_fast
model/lib/pointnet2/src/interpolate.cpp:25
Function
three_nn_wrapper_fast
model/lib/pointnet2/src/interpolate.cpp:13
Method
to_gradio_chatbot
(self)
data/conversation_lib.py:115
Function
undo
(chatbot)
demos/multi_turn_mm.py:175
Method
value
(self)
util/misc.py:89
← previous
201–248 of 248, ranked by callers