Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TL-UESTC/UniMoS
/ functions
Functions
70 in github.com/TL-UESTC/UniMoS
⨍
Functions
70
◇
Types & classes
12
↓ 6 callers
Method
__init__
(self, args, config)
model.py:118
↓ 6 callers
Function
index_generator
(N, B, shuffle=True)
model.py:31
↓ 6 callers
Method
train
(self)
model.py:258
↓ 5 callers
Function
build_transform
(is_train, config)
utils/build.py:220
↓ 3 callers
Method
clip_clf_res
(self, fea, method=None)
model.py:247
↓ 2 callers
Method
clip_forward
image: btz, 3, 224, 224 text_embedding: cls, 77, 512 tokenized_prompts: cls, 77
model.py:222
↓ 2 callers
Method
ext_fea
(self, d='src')
model.py:400
↓ 2 callers
Function
make_dataset
(root, label)
utils/build.py:31
↓ 2 callers
Method
set_eval
(self)
model.py:463
↓ 2 callers
Method
test
(self, d='tar')
model.py:338
↓ 1 callers
Function
_update_config_from_file
(config, cfg_file)
configs/config.py:187
↓ 1 callers
Method
cal_dis
(self, aff, all_fea)
model.py:441
↓ 1 callers
Method
cal_l
(self)
model.py:178
↓ 1 callers
Method
clear
(self)
model.py:531
↓ 1 callers
Method
clustering
(self, aff, all_fea, K, all_label)
model.py:433
↓ 1 callers
Method
convert_models_to_fp32
(self)
model.py:427
↓ 1 callers
Function
create_logger
(output_dir, name='', file='1')
utils/logger.py:13
↓ 1 callers
Method
debias
(self, probs, k)
model.py:196
↓ 1 callers
Function
ent_loss
(out)
model.py:485
↓ 1 callers
Function
entropy
(input)
model.py:471
↓ 1 callers
Function
gentropy
(softmax_out)
model.py:478
↓ 1 callers
Function
get_config
Get a yacs CfgNode object with default values.
configs/config.py:246
↓ 1 callers
Method
inv_lr_scheduler
(self, iter_num, power=0.75, gamma=0.001)
model.py:186
↓ 1 callers
Function
is_image_file
(filename)
utils/build.py:23
↓ 1 callers
Function
kl_div_with_logit
(q_logit, p_logit)
model.py:505
↓ 1 callers
Function
make_dataset_officehome
(image_list, labels)
utils/build.py:44
↓ 1 callers
Method
normalize
(self, x)
model.py:335
↓ 1 callers
Function
parse_option
()
main.py:10
↓ 1 callers
Function
print_args
(args)
main.py:53
↓ 1 callers
Method
record_best
(self, acc)
model.py:253
↓ 1 callers
Method
reset_random_parameters
(self, reset_probability=0.5)
model.py:584
↓ 1 callers
Method
set_train
(self)
model.py:455
↓ 1 callers
Method
train_param
(self)
model.py:207
↓ 1 callers
Method
update
(self, **kw)
model.py:520
↓ 1 callers
Function
update_config
(config, args)
configs/config.py:202
↓ 1 callers
Method
update_q
(self, probs_before_softmax, k)
model.py:201
Method
__call__
(self, img)
utils/build.py:261
Method
__getitem__
(self, index)
utils/build.py:67
Method
__getitem__
(self, index)
utils/build.py:102
Method
__getitem__
(self, index)
utils/build.py:146
Method
__init__
(self, classnames, args, fill=None)
model.py:48
Method
__init__
(self)
model.py:517
Method
__init__
(self, feature_dim, bottleneck_dim=256, type="bn")
model.py:542
Method
__init__
(self, class_num, bottleneck_dim=256, type="wn")
model.py:557
Method
__init__
(self, fea_dim=1024)
model.py:573
Method
__init__
(self, fea_dim)
model.py:601
Method
__init__
(self, fea_dim)
model.py:613
Method
__init__
(self, root, label, transform=None, loader=default_loader, return_path=False)
utils/build.py:58
Method
__init__
(self, root, label, transform=None, loader=default_loader)
utils/build.py:89
Method
__init__
(self, image_list, labels=None, transform=None, target_transform=None, mode='RGB')
utils/build.py:128
Method
__init__
(self, size)
utils/build.py:255
Method
__len__
(self)
utils/build.py:80
Method
__len__
(self)
utils/build.py:112
Method
__len__
(self)
utils/build.py:156
Method
__repr__
(self)
model.py:534
Function
build_tar_loader
(args, config, def_trans=None)
utils/build.py:185
Function
create_logger_parallel
(output_dir, name='')
utils/logger.py:40
Function
data_load
(args, config, transf=None)
utils/build.py:160
Function
default_loader
(path)
utils/build.py:27
Method
forward
(self)
model.py:104
Method
forward
(self, x)
model.py:549
Method
forward
(self, x)
model.py:567
Method
forward
(self, x)
model.py:592
Method
forward
(self, x)
model.py:606
Method
forward
(self, x)
model.py:621
Function
init_weights
(m)
model.py:492
Function
l_loader
(path)
utils/build.py:121
Method
reset
(self)
model.py:580
Function
rgb_loader
(path)
utils/build.py:116
Function
update_qhat
(probs, qhat, momentum=0.99, qhat_mask=None)
model.py:108