Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CrossmodalGroup/LAPS
/ functions
Functions
123 in github.com/CrossmodalGroup/LAPS
⨍
Functions
123
◇
Types & classes
17
Function
get_train_loader
(opt, data_path, tokenizer, batch_size, workers, split='train')
lib/image_caption.py:218
Method
global_avg
(self)
lib/utils.py:66
Method
global_avg
(self)
lib/utils.py:114
Function
init_distributed_mode
(args)
lib/utils.py:371
Function
init_weights
(m)
lib/encoders.py:10
Method
log_every
(self, iterable, print_freq, header=None)
lib/utils.py:129
Function
pre_caption
(caption,max_words=50)
lib/utils.py:208
Function
pre_question
(question,max_ques_words=50)
lib/utils.py:230
Function
save_on_master
(*args, **kwargs)
lib/utils.py:366
Function
save_parameters
(opt, save_path)
arguments.py:74
Function
save_result
(result, result_dir, filename, remove_duplicate='')
lib/utils.py:246
Function
set_seed
(seed)
lib/utils.py:16
Function
step_lr_schedule
Decay the learning rate
lib/utils.py:297
Method
synchronize_between_processes
Warning: does not synchronize the deque!
lib/utils.py:42
Method
synchronize_between_processes
(self)
lib/utils.py:122
Method
unfreeze_backbone
(self)
lib/encoders.py:69
Method
unfreeze_backbone
(self)
lib/encoders.py:116
Method
unfreeze_backbone
(self)
lib/vse.py:36
Method
update
(self, k, v, n=0)
lib/evaluation.py:53
Method
value
(self)
lib/utils.py:74
Function
warmup_cosine_lr_schedule
(opt, optimizer, epoch, warmup_epoch=1, cos_epoch=8, init_lr=3e-4, warmup_lr=1e
lib/utils.py:305
Function
warmup_lr_schedule
Warmup the learning rate
lib/utils.py:288
Function
xattn_score
(img_cross, cap_cross, cap_len, xattn_type='max_mean', i2t=True, scan=True)
lib/xttn.py:264
← previous
101–123 of 123, ranked by callers